Browse Source

Gave MCU to OTA to run in inhibit_sleep

pull/1687/head
Kevin Le 4 months ago
parent
commit
21455e6296
  1. 1
      src/helpers/ESP32Board.h

1
src/helpers/ESP32Board.h

@ -68,6 +68,7 @@ public:
void sleep(uint32_t secs) override {
// Skip if not allow to sleep
if (inhibit_sleep) {
delay(1); // Give MCU to OTA to run
return;
}

Loading…
Cancel
Save