Merge pull request #728 from GullCode/fix-wfm-bw-label

Fix wfm bw label
This commit is contained in:
GullCode 2022-10-18 21:38:21 +02:00 committed by GitHub
commit e0309b13e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -207,7 +207,7 @@ namespace ui {
Labels labels
{
{ { 0 * 8 , 0 * 16 }, "LNA: VGA: AMP: VOL: ", Color::light_grey() },
{ { 0 * 8 , 1 * 16 }, "BW : SQ: W,L: , ", Color::light_grey() },
{ { 0 * 8 , 1 * 16 }, "BW: SQ: W,L: , ", Color::light_grey() },
{ { 3 * 8 , 10 * 16 }, "START END MANUAL", Color::light_grey() },
{ { 0 * 8 , (26 * 8) + 4 }, "MODE:", Color::light_grey() },
{ { 11 * 8 , (26 * 8) + 4 }, "STEP:", Color::light_grey() },

View File

@ -543,7 +543,7 @@ size_t ScannerView::change_mode(uint8_t new_mod) { //Before this, do a scan_thre
receiver_model.set_sampling_rate(3072000); receiver_model.set_baseband_bandwidth(1750000);
break;
case WFM:
bw.emplace_back("16k", 0);
bw.emplace_back("200k", 0);
field_bw.set_options(bw);
baseband::run_image(portapack::spi_flash::image_tag_wfm_audio);

View File

@ -45,7 +45,7 @@ options_t freqman_entry_bandwidths[ 4 ] = {
{ "16k" , 2 }
},
{ //WFM
{ "16k" , 0 },
{ "200k" , 0 },
}
};
@ -62,7 +62,7 @@ options_t freqman_entry_steps = {
{ "50KHz (FM1)" , 50000 },
{ "100KHz (FM2)" , 100000 },
{ "250KHz (N2)" , 250000 },
{ "500KHz " , 500000 },
{ "500KHz (WFM)" , 500000 },
{ "1MHz " , 1000000 }
};