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)