* refactored SensorManager::toggleGps()
This commit is contained in:
1 parent
6746a0a057
commit
8c00fa1f08
3 files changed
+12
-5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user