From 22c7754a7dcf760eaf12b2bd376284c5da6b7f36 Mon Sep 17 00:00:00 2001 From: OneOfEleven Date: Sat, 4 Nov 2023 14:56:09 +0000 Subject: [PATCH] fixed voice compile bug --- README.md | 2 +- audio.c | 5 +++-- firmware.bin | Bin 58864 -> 58864 bytes firmware.packed.bin | Bin 58882 -> 58882 bytes 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 654ab4e..16e368e 100644 --- a/README.md +++ b/README.md @@ -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_SIDE_BUTT_MENU := 1 enable menu option for configuring the programmable side buttons 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 ``` diff --git a/audio.c b/audio.c index 151562f..f083906 100644 --- a/audio.c +++ b/audio.c @@ -34,6 +34,7 @@ #endif #include "functions.h" #include "misc.h" +#include "radio.h" #include "settings.h" #include "ui/ui.h" @@ -338,7 +339,7 @@ void AUDIO_PlayBeep(beep_type_t Beep) SYSTEM_DelayMs(Delay * 10); 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 if (g_fm_radio_mode) @@ -486,7 +487,7 @@ void AUDIO_PlayBeep(beep_type_t Beep) // unmute the radios audio 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 if (g_fm_radio_mode) diff --git a/firmware.bin b/firmware.bin index 0f72a0e24fda36d1286f494395be5c3dd5d8ef43..9765673c5c197fe4e1b2e1c949179c8125ddac4c 100644 GIT binary patch delta 82 zcmexxn)$R+S87ml?Secqy8Cz~P Zc<_gb9l|l+Z2VZ5kqyGx?DJ#^BLL0w8#(|0 delta 82 zcmexxn)$R0d6by~63=OPIEH)cF W_`}2w;}|~{W@LkKHv2qT!UzC{aT)ml diff --git a/firmware.packed.bin b/firmware.packed.bin index 25ca5df143e4d49a99e5756277a9b81f1791be10..e076a4da64336c5cee0be6277d5ed54b9a15c966 100644 GIT binary patch delta 98 zcmV-o0Gh0Qd93*vkf4OtOvR^PmR!EFteb{gA*MHg