diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-25 16:43:27 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-25 16:44:46 (GMT) |
| commit | 30c319831ab15e6abaf97e4fa8f58a8eaeb8ba4a (patch) | |
| tree | a3231e8a294d6214e6c549d0d9ca4d23b1eb523f /src/components/settings/Settings.h | |
| parent | 196b8325544174f571e6394259d11c56eaad8cb4 (diff) | |
sans airplane mode and related support code
Diffstat (limited to 'src/components/settings/Settings.h')
| -rw-r--r-- | src/components/settings/Settings.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index 086aafd..3b26d69 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -159,14 +159,6 @@ namespace Pinetime { return settings.stepsGoal; }; - void SetBleRadioEnabled(bool enabled) { - bleRadioEnabled = enabled; - }; - - bool GetBleRadioEnabled() const { - return bleRadioEnabled; - }; - private: Pinetime::Controllers::FS& fs; @@ -191,10 +183,6 @@ namespace Pinetime { uint8_t appMenu = 0; uint8_t settingsMenu = 0; - /* airplaneMode is intentionally not saved with the other watch settings and initialized - * to off (false) on every boot because we always want ble to be enabled on startup - */ - bool bleRadioEnabled = true; void LoadSettingsFromFile(); void SaveSettingsToFile(); |
