* power saving: hasPendingWork() now also checks if there's a pending contacts write

This commit is contained in:
Scott Powell
2026-05-31 18:52:42 +10:00
parent 54c111609a
commit b259fbd01b
+1 -1
View File
@@ -2225,5 +2225,5 @@ bool MyMesh::advert() {
// To check if there is pending work
bool MyMesh::hasPendingWork() const {
return _mgr->getOutboundTotal() > 0;
return _mgr->getOutboundTotal() > 0 || dirty_contacts_expiry != 0;
}