mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-01 17:56:12 +00:00
* power saving: hasPendingWork() now also checks if there's a pending contacts write
This commit is contained in:
@@ -2225,5 +2225,5 @@ bool MyMesh::advert() {
|
|||||||
|
|
||||||
// To check if there is pending work
|
// To check if there is pending work
|
||||||
bool MyMesh::hasPendingWork() const {
|
bool MyMesh::hasPendingWork() const {
|
||||||
return _mgr->getOutboundTotal() > 0;
|
return _mgr->getOutboundTotal() > 0 || dirty_contacts_expiry != 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user