mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 17:19:29 +00:00
App settings revamp (#1139)
* WIP AppSetting overhaul * WIP migrating apps to new settings. * remove settings, rename tuned => target * formatting * Minor fixes * Fix hang on app load * run formatter * PR comment fixes * Load modulation into receiver model in app_settings * Run formatter --------- Co-authored-by: kallanreed <kallanreed@outlook.com>
This commit is contained in:
@@ -56,11 +56,10 @@ class SSTVTXView : public View {
|
||||
|
||||
private:
|
||||
NavigationView& nav_;
|
||||
app_settings::SettingsManager settings_{
|
||||
"tx_sstv", app_settings::Mode::TX};
|
||||
|
||||
sstv_scanline scanline_buffer{};
|
||||
// app save settings
|
||||
std::app_settings settings{};
|
||||
std::app_settings::AppSettings app_settings{};
|
||||
|
||||
bool file_error{false};
|
||||
File bmp_file{};
|
||||
@@ -75,7 +74,6 @@ class SSTVTXView : public View {
|
||||
void read_boundary(uint8_t* buffer, uint32_t position, uint32_t length);
|
||||
void on_bitmap_changed(const size_t index);
|
||||
void on_mode_changed(const size_t index);
|
||||
void on_tuning_frequency_changed(rf::Frequency f);
|
||||
void start_tx();
|
||||
void prepare_scanline();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user