t1000e: gps toggle not using board class

This commit is contained in:
Florent de Lamotte
2025-06-19 17:26:58 +02:00
parent 8765b3d040
commit 588a986976
8 changed files with 14 additions and 14 deletions

View File

@@ -28,7 +28,8 @@ public:
const char* getSettingName(int i) const override;
const char* getSettingValue(int i) const override;
bool setSettingValue(const char* name, const char* value) override;
bool toggle_gps() { gps_active ? stop_gps() : start_gps(); return gps_active;}
bool getGpsStatus() override { return gps_active; }
bool toggleGps() override { gps_active ? sleep_gps() : start_gps(); return gps_active; }
};
#ifdef DISPLAY_CLASS