Remove PowerSaving changes from Halo retry branch
This commit is contained in:
1 parent
17dc51dbce
commit
2acd61ec84
33 files changed
+93
-536
No files matched your search
@@ -1031,11 +1031,3 @@ void MyMesh::loop() {
|
||||
uptime_millis += now - last_millis;
|
||||
last_millis = now;
|
||||
}
|
||||
|
||||
// To check if there is pending work
|
||||
bool MyMesh::hasPendingWork() const {
|
||||
#if defined(WITH_BRIDGE)
|
||||
if (bridge.isRunning()) return true; // bridge needs WiFi radio, can't sleep
|
||||
#endif
|
||||
return _mgr->getOutboundTotal() > 0;
|
||||
}
|
||||
Reference in new issue
Block a user