* refactored SensorManager::toggleGps()

This commit is contained in:
Scott Powell
2025-06-20 13:44:58 +10:00
parent 27388fcf2a
commit b865ac6c23
3 changed files with 12 additions and 5 deletions

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