From fc966631627b3fd944442d44a81ef5ae6804337d Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Mon, 13 Jan 2025 11:42:11 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9MP3=E6=9C=80=E5=A4=A7=E4=B8=8B?= =?utf8?q?=E8=BD=BD=E6=AD=BB=E6=9C=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/ble_service/bleservice/bleEvent.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.17.1