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

Fix 1750 compile warning

This commit is contained in:
OneOfEleven
2023-10-10 10:42:22 +01:00
parent d212d44ab5
commit 47357fb113
6 changed files with 18 additions and 8 deletions

View File

@ -276,6 +276,8 @@ void ACTION_Scan(bool bRestart)
{
g_input_box_index = 0;
(void)b1750; // stop unused compile warning
#if defined(ENABLE_ALARM) && defined(ENABLE_TX1750)
g_alarm_state = b1750 ? ALARM_STATE_TX1750 : ALARM_STATE_TXALARM;
g_alarm_running_counter = 0;