mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-12 04:17:22 -04:00
oops my latest change busted android connection detection
This commit is contained in:
1 parent
d179bda728
commit
bc76c79e1e
2 files changed
+10
-9
No files matched your search
@@ -32,7 +32,7 @@ void BluetoothPhoneAPI::onNowHasData(uint32_t fromRadioNum)
|
||||
}
|
||||
|
||||
bool BluetoothPhoneAPI::checkIsConnected() {
|
||||
return curConnectionHandle != -1;
|
||||
return curConnectionHandle >= 0;
|
||||
}
|
||||
|
||||
int toradio_callback(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, void *arg)
|
||||
|
||||
Reference in new issue
Block a user