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
|
||||
|
||||
@@ -390,6 +390,8 @@ static void __attribute__((noinline)) serviceCommandInterfaces() {
|
||||
command[0] = 0; // reset command buffer
|
||||
}
|
||||
|
||||
board.loop(); // let the board feed its watchdog, run periodic housekeeping
|
||||
|
||||
#ifdef ETHERNET_ENABLED
|
||||
ethernet_loop_maintain();
|
||||
if (ethernet_take_session_reset() || !ethernet_client.connected()) {
|
||||
|
||||
Reference in new issue
Block a user