Fix G3 USB sleep and two-minute button wake
This commit is contained in:
1 parent
27616e2e5b
commit
fc3298c84d
19 files changed
+527
-21
No files matched your search
@@ -226,4 +226,9 @@ void loop() {
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#if defined(ESP32_PLATFORM)
|
||||
if (!can_power_save && the_mesh.getNodePrefs()->powersaving_enabled) {
|
||||
delay(1); // Keep USB and the button wake interval serviced while idle.
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user