Allow safe nRF52 MCU idle between radio2 scan deadlines
This commit is contained in:
1 parent
53835c0793
commit
f1d281a766
30 files changed
+916
-24
No files matched your search
@@ -1725,7 +1725,7 @@ mesh::powerdiag::Mask SensorMesh::pendingWorkReason() const {
|
||||
|| (tracker_awake_until && !millisHasNowPassed(tracker_awake_until))
|
||||
|| (!tracker_storage_fault && getRTCClock()->getCurrentTime() >= tracker_next_check))) return mask(Reason::Tracker);
|
||||
#endif
|
||||
if (isDualRadioActive()) return mask(Reason::DualRadio);
|
||||
if (!canIdleDualRadio()) return mask(Reason::DualRadio);
|
||||
if (hasPendingOtaApply()) return mask(Reason::Ota);
|
||||
if (_cli.hasActiveUserGpioTimer()) return mask(Reason::Scheduled);
|
||||
if (radio_driver.isWatchdogObserving()) return mask(Reason::RadioWatchdog);
|
||||
|
||||
Reference in new issue
Block a user