系统升级更改 BUG先延期,后续再统一修复(补) 972/2
authorhcj <1224667075@qq.com>
Sat, 14 Sep 2024 03:32:06 +0000 (11:32 +0800)
committerhcj <1224667075@qq.com>
Sat, 14 Sep 2024 03:32:06 +0000 (11:32 +0800)
code/sdk/drivers/peripheral/utils/custom_utils_at_cmd.c

index d6c0fce..c06bad9 100644 (file)
@@ -146,7 +146,7 @@ static uint8_t g_http_download_started=0;
  * httpc_headers_done_fn callback_headers_done_fn,  
  * httpc_file_rx_fn callback_file_rx_fn
 */
-// static httpc_connection_t settings = {0};
+static httpc_connection_t settings = {0};
 errcode_t http_single_download_start( uint8_t *server, uint16_t port,uint8_t *uri, uint8_t *otadatapath, httpc_result_fn callback_result_fn, httpc_headers_done_fn callback_headers_done_fn,  httpc_file_rx_fn callback_file_rx_fn)
 {
 
@@ -164,7 +164,7 @@ errcode_t http_single_download_start( uint8_t *server, uint16_t port,uint8_t *ur
     }
      //通讯开始,唤醒cat1
     uapi_cat1_keep_wakeup(1);
-    httpc_connection_t settings = {0};
+    //httpc_connection_t settings = {0};