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

fix main.c compile

This commit is contained in:
OneOfEleven
2023-10-27 17:27:31 +01:00
parent eb03123666
commit 7bd83cdd32
10 changed files with 48 additions and 33 deletions

View File

@ -833,7 +833,7 @@ void MAIN_Key_UP_DOWN(bool key_pressed, bool key_held, scan_state_dir_t Directio
#ifdef ENABLE_SQ_OPEN_WITH_UP_DN_BUTTS
if (key_held && !monitor_was_enabled && g_current_function == FUNCTION_MONITOR)
{ // re-enable the squelch
APP_start_listening(FUNCTION_RECEIVE, false);
APP_start_listening(FUNCTION_RECEIVE);
g_monitor_enabled = false;
}
#endif
@ -953,7 +953,7 @@ void MAIN_Key_UP_DOWN(bool key_pressed, bool key_held, scan_state_dir_t Directio
if (key_held && key_pressed && !monitor_was_enabled)
{ // open the squelch if the user holds the key down
g_monitor_enabled = true;
APP_start_listening(FUNCTION_MONITOR, false);
APP_start_listening(FUNCTION_MONITOR);
}
#endif