diff --git a/src/helpers/CommonGpsPrefs.h b/src/helpers/CommonGpsPrefs.h index 5502cba80..11adc6785 100644 --- a/src/helpers/CommonGpsPrefs.h +++ b/src/helpers/CommonGpsPrefs.h @@ -4,16 +4,10 @@ #include "SensorManager.h" class CommonGpsPrefs : public ConfigSerializer { - bool _is_dirty = false; - protected: CommonGpsPrefs() = default; public: - void markDirty() { _is_dirty = true; } - void clearDirty() { _is_dirty = false; } - bool isDirty() const { return _is_dirty; } - virtual bool isGpsEnabled() const = 0; virtual void setGpsEnabled(bool enabled) = 0; virtual uint32_t getGpsPeriod() const = 0; diff --git a/src/helpers/CommonRadioPrefs.h b/src/helpers/CommonRadioPrefs.h index d0083b8c7..a479e698e 100644 --- a/src/helpers/CommonRadioPrefs.h +++ b/src/helpers/CommonRadioPrefs.h @@ -3,14 +3,9 @@ #include "KeyValueStore.h" class CommonRadioPrefs : public ConfigSerializer, public KeyValueStore { - bool _is_dirty = false; protected: CommonRadioPrefs() { } public: - void markDirty() { _is_dirty = true; } - void clearDirty() { _is_dirty = false; } - bool isDirty() const { return _is_dirty; } - virtual float getFreq() const = 0; virtual void setFreq(float f) = 0;