0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 14:48:03 +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

2
misc.c
View File

@ -227,7 +227,7 @@ uint8_t g_scan_next_channel;
scan_next_chan_t g_scan_current_scan_list;
uint8_t g_scan_restore_channel;
uint32_t g_scan_restore_frequency;
bool g_scan_pause_mode;
bool g_scan_pause_time_mode; // set if we stopped in SCAN_RESUME_TIME mode
volatile uint16_t g_scan_pause_10ms;
scan_state_dir_t g_scan_state_dir;