Merge upstream dev into keymindCascade
This commit is contained in:
commit
c31a0e5ed5
40 files changed
+2405
-200
No files matched your search
@@ -949,8 +949,10 @@ void UITask::loop() {
|
||||
}
|
||||
|
||||
if (_powering_off_at > 0) { // power off timer armed
|
||||
#ifdef LED_PIN
|
||||
#if defined(LED_PIN) && defined(LED_STATE_ON)
|
||||
digitalWrite(LED_PIN, LED_STATE_ON); // switch on the led until poweroff
|
||||
delay(1000);
|
||||
digitalWrite(LED_PIN, !LED_STATE_ON); // off LED
|
||||
#endif
|
||||
if (millisReached(millis(), _powering_off_at)) {
|
||||
_board->powerOff(); // should not return
|
||||
|
||||
Reference in new issue
Block a user