fix: 多项修复优化

1. 24h周期注册改为系统定时重启(SystemReset),移除RepeLoginCount
2. ADC连续采样改为单次采样,每次读完后重新触发Adc_SGL_Start
3. GWRevHandler/InRevHandler memcmp返回值修正 != false → != 0
4. APP_STATUS_WAIT_UPLOAD上传成功后UploadOk清零
5. UartDebug: DEBUG_CMD_CNT 16→17
This commit is contained in:
2026-07-31 10:52:40 +08:00
parent cfcdb1c722
commit 0f8bed829e
6 changed files with 25 additions and 27 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
#if (USE_DEBUG != 0)
#define DEBUG_CMD_CNT 16
#define DEBUG_CMD_CNT 17
const DBGFunType DebugFun[DEBUG_CMD_CNT];
volatile DebugChannel_e gDebugChannel = DBG_CH_RS485_1;//上电默认调试口