summaryrefslogtreecommitdiff
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.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 @@
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