mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 22:31:25 +03:00
Fix boot beeps compile error
This commit is contained in:
parent
e11c0c810c
commit
d212d44ab5
4
Makefile
4
Makefile
@ -9,7 +9,7 @@ ENABLE_OVERLAY := 0
|
|||||||
ENABLE_LTO := 1
|
ENABLE_LTO := 1
|
||||||
ENABLE_UART := 1
|
ENABLE_UART := 1
|
||||||
ENABLE_UART_DEBUG := 1
|
ENABLE_UART_DEBUG := 1
|
||||||
ENABLE_AIRCOPY := 0
|
ENABLE_AIRCOPY := 1
|
||||||
ENABLE_FMRADIO := 1
|
ENABLE_FMRADIO := 1
|
||||||
ENABLE_NOAA := 1
|
ENABLE_NOAA := 1
|
||||||
ENABLE_VOICE := 0
|
ENABLE_VOICE := 0
|
||||||
@ -25,7 +25,7 @@ ENABLE_1250HZ_STEP := 1
|
|||||||
ENABLE_TX_WHEN_AM := 0
|
ENABLE_TX_WHEN_AM := 0
|
||||||
ENABLE_F_CAL_MENU := 0
|
ENABLE_F_CAL_MENU := 0
|
||||||
ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1
|
ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1
|
||||||
ENABLE_BOOT_BEEPS := 0
|
ENABLE_BOOT_BEEPS := 1
|
||||||
ENABLE_SHOW_CHARGE_LEVEL := 0
|
ENABLE_SHOW_CHARGE_LEVEL := 0
|
||||||
ENABLE_REVERSE_BAT_SYMBOL := 1
|
ENABLE_REVERSE_BAT_SYMBOL := 1
|
||||||
ENABLE_CODE_SCAN_TIMEOUT := 0
|
ENABLE_CODE_SCAN_TIMEOUT := 0
|
||||||
|
@ -1429,6 +1429,7 @@ void APP_CheckKeys(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
g_key_prev = key;
|
g_key_prev = key;
|
||||||
|
|
||||||
APP_ProcessKey(g_key_prev, true, g_key_held);
|
APP_ProcessKey(g_key_prev, true, g_key_held);
|
||||||
|
|
||||||
g_update_status = true;
|
g_update_status = true;
|
||||||
@ -1487,7 +1488,7 @@ void APP_TimeSlice10ms(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_BOOT_BEEPS
|
#ifdef ENABLE_BOOT_BEEPS
|
||||||
if (g_boot_counter_10ms > 0 && ((g_boot_counter_10ms % 25) == 0)
|
if (g_boot_counter_10ms > 0 && (g_boot_counter_10ms % 25) == 0)
|
||||||
AUDIO_PlayBeep(BEEP_880HZ_40MS_OPTIONAL);
|
AUDIO_PlayBeep(BEEP_880HZ_40MS_OPTIONAL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user