mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-06-07 06:31:37 +00:00
Gave MCU to OTA to run in inhibit_sleep
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user