mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-11-16 07:53:53 +00:00
Adding raw data stream BPSK - QPSK (#1534)
* Adding raw data stream BPSK - QPSK * minor code compact
This commit is contained in:
@@ -87,10 +87,18 @@ SigGenView::SigGenView(
|
||||
&field_stop,
|
||||
&tx_view});
|
||||
|
||||
symfield_tone.hidden(1); // At first launch , by default we are in CW Shape has NO MOD , we are not using Tone modulation.
|
||||
symfield_tone.set_value(1000); // Default: 1000 Hz
|
||||
options_shape.on_change = [this](size_t, OptionsField::value_t v) {
|
||||
text_shape.set(shape_strings[v]);
|
||||
if (auto_update)
|
||||
update_config();
|
||||
if ((v == 0) || (v == 6)) { // In Shapes Options (CW & Pseudo Random Noise) we are not using Tone modulation freq.
|
||||
symfield_tone.hidden(1);
|
||||
} else {
|
||||
symfield_tone.hidden(0);
|
||||
}
|
||||
set_dirty();
|
||||
};
|
||||
options_shape.set_selected_index(0);
|
||||
text_shape.set(shape_strings[0]);
|
||||
|
||||
Reference in New Issue
Block a user