diff --git a/app/main.c b/app/main.c index c9a8290..184f03b 100644 --- a/app/main.c +++ b/app/main.c @@ -1033,9 +1033,6 @@ void MAIN_Key_UP_DOWN(bool key_pressed, bool key_held, scan_state_dir_t directio // freq = FREQUENCY_floor_to_step(freq, g_scan_initial_step_size, g_scan_initial_lower, g_scan_initial_upper); //} #endif - -// if (band == BAND2_108MHz) -// freq = FREQUENCY_floor_to_step(freq, g_scan_initial_step_size, g_scan_initial_lower, g_scan_initial_upper); } freq += g_scan_initial_step_size * direction; @@ -1056,7 +1053,7 @@ void MAIN_Key_UP_DOWN(bool key_pressed, bool key_held, scan_state_dir_t directio // freq = FREQUENCY_floor_to_step(freq, g_scan_initial_step_size, g_scan_initial_lower, g_scan_initial_upper); #endif - if (band == BAND2_108MHz) + if (band == BAND2_108MHz) // cope with the 8.333kHz step size freq = FREQUENCY_floor_to_step(freq, g_scan_initial_step_size, g_scan_initial_lower, g_scan_initial_upper); if (FREQUENCY_rx_freq_check(freq) < 0) diff --git a/firmware.bin b/firmware.bin index 17453c3..018e749 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin index 07021da..1f56856 100644 Binary files a/firmware.packed.bin and b/firmware.packed.bin differ diff --git a/frequencies.c b/frequencies.c index 94f27be..4308856 100644 --- a/frequencies.c +++ b/frequencies.c @@ -200,8 +200,8 @@ uint32_t FREQUENCY_wrap_to_step_band(uint32_t freq, const uint32_t step_size, co #ifdef ENABLE_SCAN_RANGES const freq_scan_range_table_t FREQ_SCAN_RANGE_TABLE[] = { - { 2760125, 2800000, 1000}, - { 2696500, 2785600, 1000}, + { 2760125, 2760125 + (1000 * 40), 1000}, + { 2696500, 2696500 + (1000 * 80), 1000}, { 2600000, 2800000, 1000}, { 2800000, 2970000, 1000}, { 5000000, 5200000, 1000}, @@ -217,7 +217,7 @@ uint32_t FREQUENCY_wrap_to_step_band(uint32_t freq, const uint32_t step_size, co {21900000, 22500000, 1500}, {24000000, 39000000, 2500}, {43000000, 44000000, 1250}, - {44600625, 44619376, 1250}, + {44600625, 44600625 + (1250 * 16), 1250}, {44000000, 47000000, 1250} };