From: hcj <1224667075@qq.com> Date: Sat, 28 Sep 2024 01:17:59 +0000 (+0800) Subject: 支付宝开机速点 死机问题修复 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F1045%2Fhead;p=mirrors%2FFD230.git 支付宝开机速点 死机问题修复 --- 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 43e2da330..aada71f18 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c @@ -152,6 +152,7 @@ errcode_t svr_ble_adv_stop(void) void svr_ble_adv_start(void) { ble_adv_falg = 1; + if(AdverFlag==true) gap_ble_start_adv(BLE_ADV_ID); } @@ -1422,7 +1423,7 @@ void ble_avd_mode_change(uint8_t mode) exit_alipay_gui = 0; printf("ble_advd_start!!!!!!!!! %d %d Bleconnect:%d\r\n",ble_adv_falg,AdverFlag,Bleconnect); - + if(Bleconnect == GAP_BLE_STATE_CONNECTED )//退出识图还在连接app需要关闭广播数据 { svr_ble_adv_stop();