Added powersaving to all ESP32 boards with RTC-supported DIO1
Added CLI to enable/disable powersaving
This commit is contained in:
@@ -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