This commit is contained in:
Robofish 2025-09-07 12:41:50 +08:00
parent 09eabb804a
commit ab3445ef6d

View File

@ -5,14 +5,14 @@
#include "bsp/uart.h"
/* Private define ----------------------------------------------------------- */
#define MAX_CHANNEL 64u // 根据实际最大通道数调整
#define MAX_CHANNEL 64u // <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define JUSTFLOAT_TAIL 0x7F800000
/* Private macro ------------------------------------------------------------ */
/* Private typedef ---------------------------------------------------------- */
/* Private variables -------------------------------------------------------- */
static uint8_t vofa_tx_buf[sizeof(float) * MAX_CHANNEL + sizeof(uint32_t)];
static VOFA_Protocol_t current_protocol = VOFA_PROTOCOL_FIREWATER; // 默认协议
static VOFA_Protocol_t current_protocol = VOFA_PROTOCOL_FIREWATER; // Ĭ<EFBFBD><EFBFBD>Э<EFBFBD><EFBFBD>
/* Private function -------------------------------------------------------- */