Added powersaving to all ESP32 boards with RTC-supported DIO1

Added CLI to enable/disable powersaving
This commit is contained in:
Kevin Le 2025-12-23 12:48:08 +07:00
parent 0c3fb918b2
commit 5c6c15942b
7 changed files with 68 additions and 2 deletions

View file

@ -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);
}