From d2fec68fb0ed4bfcaf76b1250facb70788ce63f2 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Mon, 29 Mar 2010 23:10:00 +0000 Subject: fuzev2 FM doesn't work (yet), don't try to record from it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25393 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config/sansafuzev2.h | 2 +- firmware/target/arm/as3525/audio-as3525.c | 2 +- 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 @@ /* Define bitmask of input sources - recordable bitmask can be defined explicitly if different */ -#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) +#define INPUT_SRC_CAPS (SRC_CAP_MIC /*| SRC_CAP_FMRADIO*/) /* define this if you have a bitmap LCD display */ #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) void audio_input_mux(int source, unsigned flags) { static int last_source = AUDIO_SRC_PLAYBACK; -#ifdef HAVE_RECORDING +#if defined(HAVE_RECORDING) && (INPUT_SRC_CAPS & SRC_CAP_FMRADIO) static bool last_recording = false; const bool recording = flags & SRCF_RECORDING; #else -- cgit v1.2.3