Do not turn on LED before powering off

This commit is contained in:
Kevin Le committed 2026-09-19 11:03:20 +07:00
1 parent aa1593340e
commit 26538e8a35
1 file changed
-3
-3
View File
@@ -151,9 +151,6 @@ void UITask::loop() {
}
if (_powering_off_at > 0) { // power off timer armed
#ifdef LED_PIN
digitalWrite(LED_PIN, LED_STATE_ON); // switch on the led until poweroff
#endif
if (millis() > _powering_off_at) {
_board->powerOff(); // should not return
}