diff options
| author | Dāvis Mošenkovs <davikovs@gmail.com> | 2025-09-03 21:50:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-03 20:50:13 +0200 |
| commit | e03414ce6d96c3acdc6bb56be59c50fb6a1721fc (patch) | |
| tree | fb36f10fc657c821d1bdb4fd4476a1f41f71d179 /src/displayapp/screens/settings/Settings.h | |
| parent | 9afc23cba9bcf938d8c49d6e15e7662ee8e6385d (diff) | |
Setting to disable DFU and FS access (#1891)
* Expose SystemTask dependency controllers
Expose NotificationManager and Settings for use by the feature in next commit.
This is a memory efficient way for accessing SystemTask dependencies from
controllers that have SystemTask injected as a dependency.
Looks like each direct dependency injection uses 4 bytes RAM.
As InfiniTime is close to running out of RAM (using 16 more bytes causes build
to fail with "ld: region RAM overflowed with stack") it might be helpful to use
this approach more.
* Add setting to disable DFU and FS access
Diffstat (limited to 'src/displayapp/screens/settings/Settings.h')
| -rw-r--r-- | src/displayapp/screens/settings/Settings.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/displayapp/screens/settings/Settings.h b/src/displayapp/screens/settings/Settings.h index 3722c2be..370e83f4 100644 --- a/src/displayapp/screens/settings/Settings.h +++ b/src/displayapp/screens/settings/Settings.h @@ -45,8 +45,9 @@ namespace Pinetime { {Symbols::clock, "Chimes", Apps::SettingChimes}, {Symbols::tachometer, "Shake Calib.", Apps::SettingShakeThreshold}, {Symbols::check, "Firmware", Apps::FirmwareValidation}, - {Symbols::bluetooth, "Bluetooth", Apps::SettingBluetooth}, + {Symbols::shieldAlt, "Over-the-air", Apps::SettingOTA}, + {Symbols::bluetooth, "Bluetooth", Apps::SettingBluetooth}, {Symbols::list, "About", Apps::SysInfo}, // {Symbols::none, "None", Apps::None}, |
