mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
Quoted restore frequency at start for a good interactions with other apps calling audio app
This commit is contained in:
parent
ce23c7d882
commit
4a6c76cc47
@ -140,7 +140,7 @@ AnalogAudioView::AnalogAudioView(
|
|||||||
field_lna.set_value(app_settings.lna);
|
field_lna.set_value(app_settings.lna);
|
||||||
field_vga.set_value(app_settings.vga);
|
field_vga.set_value(app_settings.vga);
|
||||||
receiver_model.set_rf_amp(app_settings.rx_amp);
|
receiver_model.set_rf_amp(app_settings.rx_amp);
|
||||||
field_frequency.set_value(app_settings.rx_frequency);
|
// field_frequency.set_value(app_settings.rx_frequency);
|
||||||
receiver_model.set_configuration_without_init(static_cast<ReceiverModel::Mode>(app_settings.modulation), app_settings.step, app_settings.am_config_index, app_settings.nbfm_config_index, app_settings.wfm_config_index, app_settings.squelch);
|
receiver_model.set_configuration_without_init(static_cast<ReceiverModel::Mode>(app_settings.modulation), app_settings.step, app_settings.am_config_index, app_settings.nbfm_config_index, app_settings.wfm_config_index, app_settings.squelch);
|
||||||
}
|
}
|
||||||
else field_frequency.set_value(receiver_model.tuning_frequency());
|
else field_frequency.set_value(receiver_model.tuning_frequency());
|
||||||
|
Loading…
Reference in New Issue
Block a user