Gps toggle on 4 clicks

This commit is contained in:
Florent de Lamotte
2025-06-18 11:52:16 +02:00
parent b3184eb94c
commit 8765b3d040
8 changed files with 28 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ public:
virtual void onAfterTransmit() { }
virtual void reboot() = 0;
virtual void powerOff() { /* no op */ }
virtual bool toggleGps() { return false; } // could be a board_toggle depending on the board features ...
virtual uint8_t getStartupReason() const = 0;
virtual bool startOTAUpdate(const char* id, char reply[]) { return false; } // not supported
};