mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-19 23:12:12 +02:00
@@ -660,8 +660,6 @@ public abstract class BluetoothCommunication {
|
|||||||
public void run() {
|
public void run() {
|
||||||
if (!gatt.discoverServices()) {
|
if (!gatt.discoverServices()) {
|
||||||
Timber.e("Could not start service discovery");
|
Timber.e("Could not start service discovery");
|
||||||
setBtStatus(BT_STATUS_CODE.BT_CONNECTION_LOST);
|
|
||||||
disconnect(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
Reference in New Issue
Block a user