* refactored SensorManager::toggleGps()

This commit is contained in:
Scott Powell committed 2025-06-20 13:44:58 +10:00
1 parent 6746a0a057
commit 8c00fa1f08
3 files changed
+12 -5

No files matched your search

-2
View File
@@ -28,8 +28,6 @@ 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 getGpsStatus() override { return gps_active; }
bool toggleGps() override { gps_active ? sleep_gps() : start_gps(); return gps_active; }
};
#ifdef DISPLAY_CLASS