Screen changes and fixes (#1651)

* Fixed bluetooth reinit bug

* Remove screen transition ms

* Whoops

* hasScreen is smarter now

* Oops
This commit is contained in:
Ben Meadors
2022-08-25 11:25:05 -05:00
committed by GitHub
parent d7e5eb4d22
commit 1013aff9b6
7 changed files with 9 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ void setBluetoothEnable(bool on) {
}
if (on && !nimbleBluetooth->isActive()) {
nimbleBluetooth->setup();
} else {
} else if (!on) {
nimbleBluetooth->shutdown();
}
}