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
This commit is contained in:
Rafaël Carré 2010-03-29 23:10:00 +00:00
parent 71393c701c
commit d2fec68fb0
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
/* Define bitmask of input sources - recordable bitmask can be defined /* Define bitmask of input sources - recordable bitmask can be defined
explicitly if different */ 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 this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP #define HAVE_LCD_BITMAP

View file

@ -33,7 +33,7 @@ void audio_set_output_source(int source)
void audio_input_mux(int source, unsigned flags) void audio_input_mux(int source, unsigned flags)
{ {
static int last_source = AUDIO_SRC_PLAYBACK; 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; static bool last_recording = false;
const bool recording = flags & SRCF_RECORDING; const bool recording = flags & SRCF_RECORDING;
#else #else