Added PowerSaving for sensor firmware

This commit is contained in:
Kevin Le committed 2026-09-03 22:54:02 +07:00
1 parent af15c37d8b
commit e125d375ff
3 files changed
+26

No files matched your search

+5
View File
@@ -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;
}