mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Merge pull request #775 from Brumi-2021/Small_BW_Label_error_correction_Scanner_App
Scanner BW label corrections
This commit is contained in:
commit
c0f368c978
@ -584,9 +584,9 @@ size_t ScannerView::change_mode(uint8_t new_mod) { //Before this, do a scan_thre
|
|||||||
|
|
||||||
switch (new_mod) {
|
switch (new_mod) {
|
||||||
case NFM: //bw 16k (2) default
|
case NFM: //bw 16k (2) default
|
||||||
bw.emplace_back("8k5", 0);
|
bw.emplace_back("8k5 ", 0);
|
||||||
bw.emplace_back("11k", 0);
|
bw.emplace_back("11k ", 0);
|
||||||
bw.emplace_back("16k", 0);
|
bw.emplace_back("16k ", 0);
|
||||||
field_bw.set_options(bw);
|
field_bw.set_options(bw);
|
||||||
|
|
||||||
baseband::run_image(portapack::spi_flash::image_tag_nfm_audio);
|
baseband::run_image(portapack::spi_flash::image_tag_nfm_audio);
|
||||||
@ -613,7 +613,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);
|
receiver_model.set_sampling_rate(3072000); receiver_model.set_baseband_bandwidth(1750000);
|
||||||
break;
|
break;
|
||||||
case WFM:
|
case WFM:
|
||||||
bw.emplace_back("200k", 0);
|
bw.emplace_back("200k ", 0);
|
||||||
field_bw.set_options(bw);
|
field_bw.set_options(bw);
|
||||||
|
|
||||||
baseband::run_image(portapack::spi_flash::image_tag_wfm_audio);
|
baseband::run_image(portapack::spi_flash::image_tag_wfm_audio);
|
||||||
|
Loading…
Reference in New Issue
Block a user