From: d15521469561 <1731678236@qq.com> Date: Fri, 29 May 2026 09:52:18 +0000 (+0800) Subject: 1.修改版本号 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=179494664a1cff2f2e309f1ff987ea73f751088d;p=mirrors%2Fmqtt_wglt_iot.git 1.修改版本号 2.删除不必要的打印 --- diff --git a/main/app_main.c b/main/app_main.c index 7bd69fc..57dd49b 100644 --- a/main/app_main.c +++ b/main/app_main.c @@ -58,17 +58,7 @@ static void onesec_timer_callback(void* arg) struct tm local_time = {0}; Get_Time(&local_time); - // uint8_t send[9]={0}; - // int64_t time = Get_Time_Stamp(); - // memcpy(send,&time,8); - // int8_t time_zone = Get_Time_Zone(); - // memcpy(&send[8],&time_zone,1); - // int8_t t = send[8]; - // ESP_LOGI("TIME","time:%x-%x-%x-%x-%x-%x-%x-%x zone=%x,%d t=%d\n",send[0],send[1],send[2],send[3],send[4],send[5],send[6],send[7],send[8],(int8_t)send[8],t); - // // char time_str[24]={0}; - // // int64_to_str((int64_t)Time_Sec, time_str,sizeof(time_str)-1); - // // ESP_LOGI("TIME","time: %4d-%02d-%02d %02d:%02d:%02d",local_time.tm_year+1900,local_time.tm_mon+1,local_time.tm_mday,local_time.tm_hour,local_time.tm_min,local_time.tm_sec); - // // ESP_LOGI("TIME", "putenv TZ ret: %d", putenv("TZ")); + #if ENABLE_HTTP_N455_OTA_FUNC static uint8_t onesec_timer_count = 0; if(onesec_timer_count < 65) diff --git a/main/project_common.h b/main/project_common.h index 0edef64..9cbb50e 100644 --- a/main/project_common.h +++ b/main/project_common.h @@ -52,7 +52,7 @@ #define PID_A00D 1 // 定义原始版本 -#define FW_VERSION_B 0x0100 +#define FW_VERSION_B 0x0101 // 安全检查:如果大于 9999,强制改为 0x270F #if (FW_VERSION_B > 9999)