Added PowerSaving for sensor firmware
This commit is contained in:
1 parent
af15c37d8b
commit
e125d375ff
3 files changed
+26
No files matched your search
@@ -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