mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-08 12:36:42 +00:00
Merge branch 'master' into parallel-gpiochip-support
This commit is contained in:
commit
88d4677407
@ -44,11 +44,7 @@ class BluetoothPhoneAPI : public PhoneAPI
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Check the current underlying physical link to see if the client is currently connected
|
/// Check the current underlying physical link to see if the client is currently connected
|
||||||
virtual bool checkIsConnected() override
|
virtual bool checkIsConnected() override { return Bluefruit.connected(connectionHandle); }
|
||||||
{
|
|
||||||
BLEConnection *connection = Bluefruit.Connection(connectionHandle);
|
|
||||||
return connection->connected();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static BluetoothPhoneAPI *bluetoothPhoneAPI;
|
static BluetoothPhoneAPI *bluetoothPhoneAPI;
|
||||||
|
Loading…
Reference in New Issue
Block a user