t1000e: gps toggle not using board class

This commit is contained in:
Florent de Lamotte committed 2025-06-19 17:26:58 +02:00
1 parent 568e4332b2
commit e34d38d2d9
8 files changed
+14 -14

No files matched your search

+2 -1
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