mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-02 02:06:11 +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 {
|
void sleep(uint32_t secs) override {
|
||||||
// Skip if not allow to sleep
|
// Skip if not allow to sleep
|
||||||
if (inhibit_sleep) {
|
if (inhibit_sleep) {
|
||||||
|
delay(1); // Give MCU to OTA to run
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user