mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 02:32:23 +00:00
Screen changes and fixes (#1651)
* Fixed bluetooth reinit bug * Remove screen transition ms * Whoops * hasScreen is smarter now * Oops
This commit is contained in:
@@ -122,8 +122,7 @@ void NimbleBluetooth::shutdown()
|
||||
|
||||
bool NimbleBluetooth::isActive()
|
||||
{
|
||||
NimBLEAdvertising *pAdvertising = NimBLEDevice::getAdvertising();
|
||||
return bleServer && (bleServer->getConnectedCount() > 0 || pAdvertising->isAdvertising());
|
||||
return bleServer;
|
||||
}
|
||||
|
||||
void NimbleBluetooth::setup()
|
||||
|
||||
Reference in New Issue
Block a user