mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-11-04 14:27:16 +00:00
Allow safe nRF52 MCU idle between radio2 scan deadlines
This commit is contained in:
1 parent
6921e0d364
commit
5d525b88f2
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