mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-07 06:02:20 -04:00
Use freq from AppSettings unless passed from another app (#2073)
This commit is contained in:
parent
d29172f41e
commit
56303eb385
12 changed files with 21 additions and 16 deletions
|
@ -208,7 +208,9 @@ AnalogAudioView::AnalogAudioView(
|
|||
NavigationView& nav,
|
||||
ReceiverModel::settings_t override)
|
||||
: AnalogAudioView(nav) {
|
||||
// Settings to override when launched from another app (versus from AppSettings .ini file)
|
||||
// TODO: Which other settings make sense to override?
|
||||
field_frequency.set_value(override.frequency_app_override);
|
||||
on_frequency_step_changed(override.frequency_step);
|
||||
options_modulation.set_by_value(toUType(override.mode));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue