This commit is contained in:
Jonathan Bennett 2025-05-18 19:58:37 -05:00
parent 7411dd4f0c
commit d7697e6dec
2 changed files with 5 additions and 5 deletions

View File

@ -204,8 +204,8 @@ static void powerEnter()
LOG_INFO("Loss of power in Powered"); LOG_INFO("Loss of power in Powered");
powerFSM.trigger(EVENT_POWER_DISCONNECTED); powerFSM.trigger(EVENT_POWER_DISCONNECTED);
} else { } else {
if (screen) if (screen)
screen->setOn(true); screen->setOn(true);
setBluetoothEnable(true); setBluetoothEnable(true);
// within enter() the function getState() returns the state we came from // within enter() the function getState() returns the state we came from
@ -229,7 +229,7 @@ static void powerIdle()
static void powerExit() static void powerExit()
{ {
if (screen) if (screen)
screen->setOn(true); screen->setOn(true);
setBluetoothEnable(true); setBluetoothEnable(true);
// Mothballed: print change of power-state to device screen // Mothballed: print change of power-state to device screen

View File

@ -903,8 +903,8 @@ void handleBlinkLED(HTTPRequest *req, HTTPResponse *res)
} }
} else { } else {
#if HAS_SCREEN #if HAS_SCREEN
if (screen) if (screen)
screen->blink(); screen->blink();
#endif #endif
} }