FrequencyStepView field in TransmitterView class

This commit is contained in:
Frey Hertz 2021-05-14 22:49:26 +03:00 committed by GitHub
parent 182059b3c6
commit bf0b9b9881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,8 +124,8 @@ private:
}; };
Text text_bw { Text text_bw {
{ 11 * 8, 1 * 8, 9 * 8, 1 * 16 }, { 18 * 8, 1 * 8, 3 * 8, 1 * 16 },
"BW: kHz" "kHz"
}; };
NumberField field_bw { NumberField field_bw {
{ 14 * 8, 1 * 8 }, { 14 * 8, 1 * 8 },
@ -152,6 +152,10 @@ private:
{ 21 * 8, 1 * 8, 9 * 8, 32 }, { 21 * 8, 1 * 8, 9 * 8, 32 },
"START" "START"
}; };
FrequencyStepView field_frequency_step {
{ 10 * 8 - 4, 1 * 8 },
};
void on_tuning_frequency_changed(rf::Frequency f); void on_tuning_frequency_changed(rf::Frequency f);
void on_channel_bandwidth_changed(uint32_t channel_bandwidth); void on_channel_bandwidth_changed(uint32_t channel_bandwidth);