mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 14:21:25 +03:00
fixed voice compile bug
This commit is contained in:
parent
51ac6fc333
commit
22c7754a7d
@ -91,7 +91,7 @@ ENABLE_RX_SIGNAL_BAR := 1 enable a menu option for showing an
|
|||||||
ENABLE_TX_AUDIO_BAR := 1 enable a menu option for showing a TX audio level bar
|
ENABLE_TX_AUDIO_BAR := 1 enable a menu option for showing a TX audio level bar
|
||||||
ENABLE_SIDE_BUTT_MENU := 1 enable menu option for configuring the programmable side buttons
|
ENABLE_SIDE_BUTT_MENU := 1 enable menu option for configuring the programmable side buttons
|
||||||
ENABLE_KEYLOCK := 1 enable keylock menu option + keylock code
|
ENABLE_KEYLOCK := 1 enable keylock menu option + keylock code
|
||||||
#ENABLE_BAND_SCOPE := 0 not yet implemented - spectrum/pan-adapter
|
#ENABLE_PANADAPTER := 0 not yet implemented - spectrum/pan-adapter
|
||||||
#ENABLE_SINGLE_VFO_CHAN := 0 not yet implemented - single VFO on display when possible
|
#ENABLE_SINGLE_VFO_CHAN := 0 not yet implemented - single VFO on display when possible
|
||||||
```
|
```
|
||||||
|
|
||||||
|
5
audio.c
5
audio.c
@ -34,6 +34,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "functions.h"
|
#include "functions.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
#include "radio.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "ui/ui.h"
|
#include "ui/ui.h"
|
||||||
|
|
||||||
@ -338,7 +339,7 @@ void AUDIO_PlayBeep(beep_type_t Beep)
|
|||||||
SYSTEM_DelayMs(Delay * 10);
|
SYSTEM_DelayMs(Delay * 10);
|
||||||
|
|
||||||
if (g_current_function == FUNCTION_RECEIVE)
|
if (g_current_function == FUNCTION_RECEIVE)
|
||||||
AUDIO_set_mod_mode(g_rx_vfo->am_mode);
|
AUDIO_set_mod_mode(g_rx_vfo->channel.am_mode);
|
||||||
|
|
||||||
#ifdef ENABLE_FMRADIO
|
#ifdef ENABLE_FMRADIO
|
||||||
if (g_fm_radio_mode)
|
if (g_fm_radio_mode)
|
||||||
@ -486,7 +487,7 @@ void AUDIO_PlayBeep(beep_type_t Beep)
|
|||||||
// unmute the radios audio
|
// unmute the radios audio
|
||||||
|
|
||||||
if (g_current_function == FUNCTION_RECEIVE)
|
if (g_current_function == FUNCTION_RECEIVE)
|
||||||
AUDIO_set_mod_mode(g_rx_vfo->am_mode);
|
AUDIO_set_mod_mode(g_rx_vfo->channel.am_mode);
|
||||||
|
|
||||||
#ifdef ENABLE_FMRADIO
|
#ifdef ENABLE_FMRADIO
|
||||||
if (g_fm_radio_mode)
|
if (g_fm_radio_mode)
|
||||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user