refactor: LaserTimerMinutes校验前移并增加范围检查,移除文件BOM冗余

This commit is contained in:
2026-07-23 09:59:59 +08:00
parent 6fee6323ea
commit be6f52fa8b
2 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
#include <string.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
@@ -15,7 +15,7 @@
#define DEBUG_CMD_CNT 16
const DBGFunType DebugFun[DEBUG_CMD_CNT];
volatile DebugChannel_e gDebugChannel = DBG_CH_RS485_1;
volatile DebugChannel_e gDebugChannel = DBG_CH_RS485_1;//上电默认调试口
static char buff[DEBUG_BUFSIZE];
volatile uint16_t iw=0; /* buffer write index*/