summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/audio-as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/audio-as3525.c b/firmware/target/arm/as3525/audio-as3525.c
index 4699ed26f9..c56024f2b5 100644
--- a/firmware/target/arm/as3525/audio-as3525.c
+++ b/firmware/target/arm/as3525/audio-as3525.c
@@ -33,7 +33,7 @@ void audio_set_output_source(int source)
33void audio_input_mux(int source, unsigned flags) 33void audio_input_mux(int source, unsigned flags)
34{ 34{
35 static int last_source = AUDIO_SRC_PLAYBACK; 35 static int last_source = AUDIO_SRC_PLAYBACK;
36#ifdef HAVE_RECORDING 36#if defined(HAVE_RECORDING) && (INPUT_SRC_CAPS & SRC_CAP_FMRADIO)
37 static bool last_recording = false; 37 static bool last_recording = false;
38 const bool recording = flags & SRCF_RECORDING; 38 const bool recording = flags & SRCF_RECORDING;
39#else 39#else