From: hcj <1224667075@qq.com> Date: Mon, 13 Jan 2025 03:42:11 +0000 (+0800) Subject: 修改MP3最大下载死机问题 X-Git-Tag: v1.3.113-repair_tp~30^2~7 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=fc966631627b3fd944442d44a81ef5ae6804337d;p=mirrors%2FFD230.git 修改MP3最大下载死机问题 --- diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c index 8f9534109..42137c84b 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c @@ -7256,6 +7256,8 @@ errcode_t decode_mp3_json(ble_read_data *buffer_handle) if(IS_free_save_Mp3(ota_size_json->valueint)==false) { free(buffer_handle->file_recv_stat.file_name); + buffer_handle->file_recv_stat.file_name=NULL; + TRANSMIT_DATA=TRANS_MP3_MAX_FAIL; CustomEventPublish(TOPIC_EVENT_BLE_TRANSMIT,&TRANSMIT_DATA,1);