0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 22:31:25 +03:00

Fix can't compile with VOX on and FMRADIO off.

This commit is contained in:
cloudwindy 2023-10-20 20:24:50 +08:00
parent b18edd6484
commit 49cfd5a595
No known key found for this signature in database
GPG Key ID: 7E77DCD8B06BEDFA

View File

@ -741,7 +741,6 @@ void RADIO_setup_registers(bool switch_to_function_foreground)
!g_fm_radio_mode && !g_fm_radio_mode &&
#endif #endif
g_eeprom.vox_switch && g_eeprom.vox_switch &&
!g_fm_radio_mode &&
IS_NOT_NOAA_CHANNEL(g_current_vfo->channel_save) && IS_NOT_NOAA_CHANNEL(g_current_vfo->channel_save) &&
g_current_vfo->am_mode == 0) g_current_vfo->am_mode == 0)
{ {