feat: 增加 vofa justfloat 发送

This commit is contained in:
bmy
2024-03-11 19:32:44 +08:00
parent 6c0cfe1248
commit 6a6be1469b
4 changed files with 44 additions and 3 deletions

18
app/by_vofa.h Normal file
View 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