From d3278c0e91f5e37f4b28eb70a2f31410e04b3934 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Wed, 16 Oct 2024 20:18:30 +0800 Subject: [PATCH] =?utf8?q?=E8=93=9D=E7=89=99=E4=BF=AE=E6=94=B9=EF=BC=8C?= =?utf8?q?=E6=A0=B9=E6=8D=AE=E9=9C=80=E6=B1=82=E9=87=87=E5=8F=96=EF=BC=8C?= =?utf8?q?=E5=AE=9E=E6=97=B6=E6=9B=B4=E6=96=B0=E8=BF=9E=E6=8E=A5=E9=97=B4?= =?utf8?q?=E9=9A=94=EF=BC=8CBR=E9=85=8D=E5=AF=B9=E4=BC=98=E5=8C=96?= =?utf8?q?=EF=BC=88=E8=A1=A5+?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/bluetooth/src/BluetoothModel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 bcee8c39d..6db203f18 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp @@ -807,10 +807,10 @@ void BtGapPairStatusChangedCallback(const bd_addr_t *bdAddr, int status) set_br_pair(1); } - // if( && status == GAP_PAIR_NONE ) - // { - // set_br_pair(0); - // } + if( status == GAP_PAIR_PAIRED ) + { + set_br_pair(1); + } } -- 2.17.1