summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/sansafuzev2.h2
-rw-r--r--firmware/target/arm/as3525/audio-as3525.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index ddf42d9563..3a46003361 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -21,7 +21,7 @@
21 21
22/* Define bitmask of input sources - recordable bitmask can be defined 22/* Define bitmask of input sources - recordable bitmask can be defined
23 explicitly if different */ 23 explicitly if different */
24#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) 24#define INPUT_SRC_CAPS (SRC_CAP_MIC /*| SRC_CAP_FMRADIO*/)
25 25
26/* define this if you have a bitmap LCD display */ 26/* define this if you have a bitmap LCD display */
27#define HAVE_LCD_BITMAP 27#define HAVE_LCD_BITMAP
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