Improved RX duty-cycle watchdog observation with esp32 sleep in mind

This commit is contained in:
Jarosław Domański
2026-07-09 14:39:20 +02:00
parent 9cbd944a29
commit a1330facff
4 changed files with 54 additions and 6 deletions
+1
View File
@@ -1049,5 +1049,6 @@ bool MyMesh::hasPendingWork() const {
#if defined(WITH_BRIDGE)
if (bridge.isRunning()) return true; // bridge needs WiFi radio, can't sleep
#endif
if (radio_driver.isWatchdogObserving()) return true; // keep MCU awake for one radio duty cycle
return _mgr->getOutboundTotal() > 0;
}