mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-24 06:44:25 -04:00
Adding the 3 x WFM BW filters to Mic App (#976)
adding the 3 x WFM BW filters to Mic App and other minor msg correction and adding comments to code
This commit is contained in:
parent
3c2fc74f82
commit
f9fdeb3419
4 changed files with 21 additions and 17 deletions
|
@ -53,7 +53,7 @@ AMOptionsView::AMOptionsView(
|
|||
&options_config,
|
||||
});
|
||||
|
||||
freqman_set_bandwidth_option( AM_MODULATION , options_config );
|
||||
freqman_set_bandwidth_option( AM_MODULATION , options_config ); // adding the common message from freqman.cpp to the options_config
|
||||
options_config.set_selected_index(receiver_model.am_configuration());
|
||||
options_config.on_change = [this](size_t n, OptionsField::value_t) {
|
||||
receiver_model.set_am_configuration(n);
|
||||
|
@ -75,7 +75,7 @@ NBFMOptionsView::NBFMOptionsView(
|
|||
&field_squelch
|
||||
});
|
||||
|
||||
freqman_set_bandwidth_option( NFM_MODULATION , options_config );
|
||||
freqman_set_bandwidth_option( NFM_MODULATION , options_config ); // adding the common message from freqman.cpp to the options_config
|
||||
options_config.set_selected_index(receiver_model.nbfm_configuration());
|
||||
options_config.on_change = [this](size_t n, OptionsField::value_t) {
|
||||
receiver_model.set_nbfm_configuration(n);
|
||||
|
@ -100,7 +100,7 @@ WFMOptionsView::WFMOptionsView(
|
|||
&options_config,
|
||||
});
|
||||
|
||||
freqman_set_bandwidth_option( WFM_MODULATION , options_config );
|
||||
freqman_set_bandwidth_option( WFM_MODULATION , options_config ); // adding the common message from freqman.cpp to the options_config
|
||||
options_config.set_selected_index(receiver_model.wfm_configuration());
|
||||
options_config.on_change = [this](size_t n, OptionsField::value_t) {
|
||||
receiver_model.set_wfm_configuration(n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue