mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-09-21 18:54:20 +00:00
Added PowerSaving for sensor firmware
This commit is contained in:
@@ -979,3 +979,8 @@ void SensorMesh::loop() {
|
||||
dirty_contacts_expiry = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// To check if there is pending work
|
||||
bool SensorMesh::hasPendingWork() const {
|
||||
return _mgr->getOutboundTotal() > 0;
|
||||
}
|
||||
Reference in New Issue
Block a user