diff options
-rw-r--r-- | app/bluetooth/Bluetooth.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/bluetooth/Bluetooth.qml b/app/bluetooth/Bluetooth.qml index 04c9284..cef0578 100644 --- a/app/bluetooth/Bluetooth.qml +++ b/app/bluetooth/Bluetooth.qml @@ -144,8 +144,8 @@ SettingPage { onCheckedChanged: { console.log("Bluetooth set to", checked) if (checked == true) { - initBTlist() pairedDeviceCount=0 + initBTlist() btOn=true request(btAPIpath + 'power?value=1', function (o) { // log the json response |