Merge branch 'master' into parallel-gpiochip-support

This commit is contained in:
Patrick Siegl 2025-01-12 19:05:39 +01:00 committed by GitHub
commit 88d4677407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;