Gave MCU to OTA to run in inhibit_sleep

This commit is contained in:
Kevin Le
2026-02-14 22:23:06 +07:00
parent daaeaafca1
commit 21455e6296
+1
View File
@@ -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;
}