mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
restoring bad substitue on text_ctcss filler
This commit is contained in:
parent
7b6f8b271c
commit
c7d88da1a6
@ -1828,7 +1828,7 @@ namespace ui {
|
|||||||
receiver_model.set_am_configuration(field_bw.selected_index());
|
receiver_model.set_am_configuration(field_bw.selected_index());
|
||||||
field_bw.on_change = [this](size_t n, OptionsField::value_t) { receiver_model.set_am_configuration(n); };
|
field_bw.on_change = [this](size_t n, OptionsField::value_t) { receiver_model.set_am_configuration(n); };
|
||||||
receiver_model.set_sampling_rate(3072000); receiver_model.set_baseband_bandwidth(1750000);
|
receiver_model.set_sampling_rate(3072000); receiver_model.set_baseband_bandwidth(1750000);
|
||||||
text_ctcss.set(" ");
|
text_ctcss.set(" ");
|
||||||
break;
|
break;
|
||||||
case NFM_MODULATION:
|
case NFM_MODULATION:
|
||||||
freqman_set_bandwidth_option( new_mod , field_bw );
|
freqman_set_bandwidth_option( new_mod , field_bw );
|
||||||
@ -1849,7 +1849,7 @@ namespace ui {
|
|||||||
receiver_model.set_wfm_configuration(field_bw.selected_index());
|
receiver_model.set_wfm_configuration(field_bw.selected_index());
|
||||||
field_bw.on_change = [this](size_t n, OptionsField::value_t) { receiver_model.set_wfm_configuration(n); };
|
field_bw.on_change = [this](size_t n, OptionsField::value_t) { receiver_model.set_wfm_configuration(n); };
|
||||||
receiver_model.set_sampling_rate(3072000); receiver_model.set_baseband_bandwidth(1750000);
|
receiver_model.set_sampling_rate(3072000); receiver_model.set_baseband_bandwidth(1750000);
|
||||||
text_ctcss.set(" ");
|
text_ctcss.set(" ");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
@ -1876,7 +1876,7 @@ namespace ui {
|
|||||||
|
|
||||||
if( field_mode.selected_index() != NFM_MODULATION )
|
if( field_mode.selected_index() != NFM_MODULATION )
|
||||||
{
|
{
|
||||||
text_ctcss.set(" ");
|
text_ctcss.set(" ");
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1896,7 +1896,7 @@ namespace ui {
|
|||||||
if (min_diff < 40)
|
if (min_diff < 40)
|
||||||
text_ctcss.set("T: "+tone_keys[min_idx].first);
|
text_ctcss.set("T: "+tone_keys[min_idx].first);
|
||||||
else
|
else
|
||||||
text_ctcss.set(" ");
|
text_ctcss.set(" ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} /* namespace ui */
|
} /* namespace ui */
|
||||||
|
Loading…
Reference in New Issue
Block a user