This code was committed by mistake

This commit is contained in:
Thomas Göttgens 2022-08-04 09:10:50 +02:00
parent 295dca8415
commit 18d5712ecd
2 changed files with 0 additions and 14 deletions

View File

@ -144,15 +144,8 @@ class ButtonThread : public concurrency::OSThread
screen->startShutdownScreen();
DEBUG_MSG("Shutdown from long press");
playBeep();
#ifdef PIN_LED1
ledOff(PIN_LED1);
#endif
#ifdef PIN_LED2
ledOff(PIN_LED2);
#endif
#ifdef PIN_LED3
ledOff(PIN_LED3);
#endif
shutdown_on_long_stop = true;
}
#endif

View File

@ -21,15 +21,8 @@ void powerCommandsCheck()
if (shutdownAtMsec) {
screen->startShutdownScreen();
playBeep();
#ifdef PIN_LED1
ledOff(PIN_LED1);
#endif
#ifdef PIN_LED2
ledOff(PIN_LED2);
#endif
#ifdef PIN_LED3
ledOff(PIN_LED3);
#endif
}
#endif