From: hcj <1224667075@qq.com> Date: Thu, 19 Sep 2024 09:36:26 +0000 (+0800) Subject: 增加2ae0 传输出错文件,先统计看是否有出现(补) X-Git-Tag: release_V1.2.70_20241020_135402~457^2 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=ce3e64994b4b6856a1bfe6095522aa0c4a301b90;p=mirrors%2FFD230.git 增加2ae0 传输出错文件,先统计看是否有出现(补) --- diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c b/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c index c1f1c21a9..0d054db62 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c @@ -1278,7 +1278,7 @@ static void svr_ble_bt_gatts_req_write_cb(uint8_t server_id, uint16_t conn_id, g { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP,"ota fial "); //如果存在此文件证明ota出现失败过 - FILE *fp= fopen("user/updata/Ble_ota_file.txt","ab+"); + FILE *fp= fopen("/user/updata/Ble_ota_file.txt","ab+"); fwrite("x",1,1,fp); fclose(fp); }