feat: 新增激光定时关闭与姿态角持续输出测试功能,编码转UTF-8
1. 激光定时自动关闭:默认10分钟,laser on启动计时,超时自动关并上报 2. laser time <min>可配置定时分钟数,0=关闭定时 3. att on/off持续输出姿态角(Pitch/Roll/Yaw),不注册不低功耗 4. 20个源文件从GB2312编码转为UTF-8 with BOM
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#ifndef __DEBUG_H
|
||||
#ifndef __DEBUG_H
|
||||
#define __DEBUG_H
|
||||
|
||||
#include "bsp.h"
|
||||
@@ -13,7 +13,7 @@
|
||||
void vcom_Send( char *format, ... );
|
||||
void vcom_Send2(uint8_t *sData, uint16_t len);
|
||||
|
||||
#define DBG_LOG2(x, y) vcom_Send2(x, y) //打印长度超过缓存DEBUG_BUFF_SIZE_MAX的信息
|
||||
#define DBG_LOG2(x, y) vcom_Send2(x, y) //打印长度超过缓存DEBUG_BUFF_SIZE_MAX的信息
|
||||
#define DBG_LOG(...) vcom_Send(__VA_ARGS__)
|
||||
#define DBG_LOG_F(fmt,arg...) LOG("[%s] "fmt,__FUNCTION__,##arg)
|
||||
|
||||
@@ -27,7 +27,7 @@ void vcom_Send2(uint8_t *sData, uint16_t len);
|
||||
}
|
||||
|
||||
typedef enum {
|
||||
DBG_CH_UART0 = 0, //默认串口调试方式 Uart0Init
|
||||
DBG_CH_UART0 = 0, //默认串口调试方式 Uart0Init
|
||||
DBG_CH_RS485_1, //RS485_1 (LPUART0)
|
||||
}DebugChannel_e;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user