Added powersaving to all ESP32 boards with RTC-supported DIO1
Added CLI to enable/disable powersaving
This commit is contained in:
1 parent
189385b35e
commit
a1a7d10cae
7 files changed
+68
-2
No files matched your search
@@ -1115,3 +1115,8 @@ void MyMesh::loop() {
|
||||
uptime_millis += now - last_millis;
|
||||
last_millis = now;
|
||||
}
|
||||
|
||||
// To get the current pending work
|
||||
int MyMesh::hasPendingWork() const {
|
||||
return _mgr->getOutboundCount(0xFFFFFFFF);
|
||||
}
|
||||
Reference in new issue
Block a user