0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-21 07:28:37 +03:00
This commit is contained in:
OneOfEleven
2023-11-10 08:22:03 +00:00
parent f20191568a
commit 51c883de0f
7 changed files with 66 additions and 30 deletions

View File

@ -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;