mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
.
This commit is contained in:
2
app/fm.c
2
app/fm.c
@ -190,7 +190,7 @@ int FM_check_frequency_lock(const uint16_t frequency, const uint16_t lower_limit
|
||||
if (afc_railed || snr < 2 || rssi < 10 || abs(freq_offset) > 250)
|
||||
goto Bail;
|
||||
|
||||
if (frequency >= lower_limit && abs(((int)BK1080_freq_base - frequency)) == 1)
|
||||
if (frequency >= lower_limit && abs(((int)BK1080_freq_base - (int)frequency)) == 1)
|
||||
if (abs(BK1080_freq_offset) < 20)
|
||||
goto Bail;
|
||||
|
||||
|
@ -873,7 +873,8 @@ void MAIN_Key_STAR(bool key_pressed, bool key_held)
|
||||
#ifdef ENABLE_SCAN_IGNORE_LIST
|
||||
if (scanning_paused())
|
||||
{
|
||||
FI_add_freq_ignored(g_rx_vfo->freq_config_rx.frequency);
|
||||
if (!FI_add_freq_ignored(g_rx_vfo->freq_config_rx.frequency))
|
||||
g_beep_to_play = BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL; // not added for some reason
|
||||
|
||||
// immediately continue the scan
|
||||
g_scan_tick_10ms = 0;
|
||||
|
Reference in New Issue
Block a user