summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-29 23:10:00 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-29 23:10:00 +0000
commitd2fec68fb0ed4bfcaf76b1250facb70788ce63f2 (patch)
treec9adabd950ea6c58e0defda5267a37e2e7d1d012
parent71393c701c319e7b78ee81b6a8f0cc9830e88e2a (diff)
downloadrockbox-d2fec68fb0ed4bfcaf76b1250facb70788ce63f2.tar.gz
rockbox-d2fec68fb0ed4bfcaf76b1250facb70788ce63f2.tar.bz2
rockbox-d2fec68fb0ed4bfcaf76b1250facb70788ce63f2.zip
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
-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 @@
/* 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