Adding raw data stream BPSK - QPSK (#1534)

* Adding raw data stream BPSK - QPSK
* minor code compact
This commit is contained in:
Brumi-2021 2023-10-30 11:32:34 +01:00 committed by GitHub
parent a11929d2ca
commit be7b402c95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 68 additions and 19 deletions

View file

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