mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-27 16:17:31 -04:00
First pass at custom app-settings support (#1381)
* First draft of custom app settings support. * WIP new settings * Working per-app custom settings * Revert design to use "bound settings"
This commit is contained in:
parent
a4636d7872
commit
63f99742fc
11 changed files with 269 additions and 43 deletions
|
@ -65,7 +65,14 @@ class POCSAGAppView : public View {
|
|||
NavigationView& nav_;
|
||||
RxRadioState radio_state_{};
|
||||
app_settings::SettingsManager settings_{
|
||||
"rx_pocsag", app_settings::Mode::RX};
|
||||
"rx_pocsag",
|
||||
app_settings::Mode::RX};
|
||||
|
||||
// Settings
|
||||
bool enable_logging = false;
|
||||
SettingsStore settings_store_{
|
||||
"rx_pocsag_ui",
|
||||
{{"enable_logging", &enable_logging}}};
|
||||
|
||||
uint32_t last_address = 0xFFFFFFFF;
|
||||
pocsag::POCSAGState pocsag_state{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue