mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-11-04 08:37:53 +00:00
Fix peripheral power shutdown and auto-detect Station G3 radio slots
This commit is contained in:
1 parent
3c29c888e4
commit
f765604cb8
103 files changed
+4900
-194
No files matched your search
@@ -375,8 +375,10 @@ void loop() {
|
||||
#endif
|
||||
}
|
||||
#if defined(ESP32_PLATFORM)
|
||||
if (!morse_timing && !can_power_save && (the_mesh.getNodePrefs()->powersaving_enabled
|
||||
if (!morse_timing && !can_power_save && !the_mesh.isDualRadioActive()
|
||||
&& (the_mesh.getNodePrefs()->powersaving_enabled
|
||||
|| the_mesh.isTrackerModeEnabled())) {
|
||||
// Live radio2 needs the scanner's zero-delay polling cadence.
|
||||
delay(1); // Keep USB and the button wake interval serviced while idle.
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user