恢复源代码,解决编译问题
authorSnickerSun <snickersun@163.com>
Mon, 1 Apr 2024 12:11:55 +0000 (20:11 +0800)
committerSnickerSun <snickersun@163.com>
Mon, 1 Apr 2024 12:11:55 +0000 (20:11 +0800)
code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothCaseListAdapter.cpp

index 2d8781d..6047989 100644 (file)
@@ -89,7 +89,7 @@ public:
             errcode_t retVal = gap_disconnect_remote_device(lastAddr);
             WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "Disconnect LastDevice retVal =  %d", retVal);
         } else {
-            //errcode_t retVal = BluetoothModel::GetInstance()->ConnectRemoteDevice(&addr);
+            errcode_t retVal = BluetoothModel::GetInstance()->ConnectRemoteDevice(&addr);
             WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ConnectRemoteDevice ret =  %d", retVal);
         }
         // 跳转可选页