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

@@ -51,6 +51,7 @@ public:
virtual void onAfterTransmit() { }
virtual void reboot() = 0;
virtual void powerOff() { /* no op */ }
virtual void sleep(uint32_t secs) { /* no op */ }
virtual uint32_t getGpio() { return 0; }
virtual void setGpio(uint32_t values) {}
virtual uint8_t getStartupReason() const = 0;