diff --git a/.vscode/settings.json b/.vscode/settings.json index e6262bc..8fb96ba 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -77,6 +77,7 @@ "xtr1common": "c", "stddef.h": "c", "netdev_ipaddr.h": "c", - "stdint.h": "c" + "stdint.h": "c", + "stdarg.h": "c" } } diff --git a/applications/main.c b/applications/main.c index 1278c2c..c98d3ae 100644 --- a/applications/main.c +++ b/applications/main.c @@ -233,7 +233,7 @@ int main(void) { // 定义超时时间,单位为毫秒 #define TIMEOUT_MS (3 * 60 * 1000) -#define WORK_TIMER_CNT (1000 * 60 * 60) +#define WORK_TIMER_CNT (1000 * 60 * 60 * 24) if (Get_VIN_VoltageInt1000x() > 10000) {