feat: 增加 vofa justfloat 发送
This commit is contained in:
18
app/by_vofa.h
Normal file
18
app/by_vofa.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _BY_VOFA_H__
|
||||
#define _BY_VOFA_H__
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "zf_common_headfile.h"
|
||||
|
||||
typedef struct by_vofa_t {
|
||||
uart_index_enum uart_index;
|
||||
uint8_t param_num;
|
||||
float *param_ptr;
|
||||
} by_vofa_t;
|
||||
|
||||
void by_vofa_init(by_vofa_t *vofa, uart_index_enum uart_index, uint8_t param_num, float *param_ptr);
|
||||
void by_vofa_send(by_vofa_t *vofa);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user