Added RX duty-cycle noise floor calibration again (this time it works!)

This commit is contained in:
Jarosław Domański committed 2026-07-09 22:23:56 +02:00
1 parent a1330facff
commit 415faea52f
6 files changed
+84 -7

No files matched your search

+1
View File
@@ -1465,5 +1465,6 @@ bool MyMesh::hasPendingWork() const {
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
if (radio_driver.isCalibratingNoiseFloor()) return true; // keep MCU awake for the noise-floor window
return _mgr->getOutboundTotal() > 0;
}
+1
View File
@@ -1050,5 +1050,6 @@ bool MyMesh::hasPendingWork() const {
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
if (radio_driver.isCalibratingNoiseFloor()) return true; // keep MCU awake for the noise-floor window
return _mgr->getOutboundTotal() > 0;
}