Quoted restore frequency at start for a good interactions with other apps calling audio app

This commit is contained in:
GullCode 2023-03-21 22:45:49 +01:00
parent ce23c7d882
commit 4a6c76cc47

View File

@ -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());