From b259fbd01bccca136743aee68cd647fd31ca9769 Mon Sep 17 00:00:00 2001 From: Scott Powell Date: Sun, 31 May 2026 18:52:42 +1000 Subject: [PATCH] * power saving: hasPendingWork() now also checks if there's a pending contacts write --- examples/companion_radio/MyMesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/companion_radio/MyMesh.cpp b/examples/companion_radio/MyMesh.cpp index 22770b80..f1804219 100644 --- a/examples/companion_radio/MyMesh.cpp +++ b/examples/companion_radio/MyMesh.cpp @@ -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; }