0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

fix RF scanning for the different modes (time, carrier & search)

This commit is contained in:
OneOfEleven
2023-10-23 15:52:08 +01:00
parent 7f91f7349b
commit 35ba988657
6 changed files with 91 additions and 74 deletions

View File

@ -43,9 +43,7 @@
bool scanning_paused(void)
{
if ((g_scan_state_dir != SCAN_STATE_DIR_OFF || g_eeprom.dual_watch != DUAL_WATCH_OFF) &&
g_scan_pause_10ms > 0 &&
g_scan_pause_10ms <= (200 / 10) &&
!g_scan_pause_mode)
g_scan_pause_10ms > 0 && g_scan_pause_10ms <= (200 / 10))
{ // scanning isn't paused
return false;
}