From ce3e64994b4b6856a1bfe6095522aa0c4a301b90 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Thu, 19 Sep 2024 17:36:26 +0800 Subject: [PATCH] =?utf8?q?=E5=A2=9E=E5=8A=A02ae0=20=E4=BC=A0=E8=BE=93?= =?utf8?q?=E5=87=BA=E9=94=99=E6=96=87=E4=BB=B6=EF=BC=8C=E5=85=88=E7=BB=9F?= =?utf8?q?=E8=AE=A1=E7=9C=8B=E6=98=AF=E5=90=A6=E6=9C=89=E5=87=BA=E7=8E=B0(?= =?utf8?q?=E8=A1=A5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/ble_service/bleservice/bleService.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.17.1