From: luozheng <1732036298@qq.com> Date: Tue, 6 May 2025 06:31:56 +0000 (+0800) Subject: 去掉不在安全模式下spp初始化操作 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=24f313453b5b1f58f8e3aafe2926544bcb22c422;p=mirrors%2FFD230.git 去掉不在安全模式下spp初始化操作 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp index c9d126ca7..5b46d4d5c 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp @@ -180,9 +180,7 @@ static int bluetooth_init_all(void) PhoneServiceInit(); InitBtHeadsetEvent(); // 蓝牙ct和tg适配初始化 - BtInitSpp(); - #if 0 // 安全模式 if(uapi_dev_runtime_get_safemode_flag()) { @@ -192,7 +190,6 @@ static int bluetooth_init_all(void) BtInitSpp(); } - #endif /*******************ble init ****************/ wrapper_ble_register();