From a12894c6dc53156ac6af2d270f1ce31f45a2aa17 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Wed, 16 Jul 2008 11:02:14 +0000 Subject: Ensure consistency between header file and implementation for iPod drivers, by #including the appropriate header file and #ifdef'fing out unused code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18066 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/audio-pp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'firmware/target/arm/audio-pp.c') diff --git a/firmware/target/arm/audio-pp.c b/firmware/target/arm/audio-pp.c index 3c4a3a8cae..ba52118e0f 100644 --- a/firmware/target/arm/audio-pp.c +++ b/firmware/target/arm/audio-pp.c @@ -23,11 +23,10 @@ #include "audio.h" #include "sound.h" +#if INPUT_SRC_CAPS != 0 void audio_set_output_source(int source) { -#if INPUT_SRC_CAPS != 0 if ((unsigned)source >= AUDIO_NUM_SOURCES) -#endif source = AUDIO_SRC_PLAYBACK; } /* audio_set_output_source */ @@ -109,5 +108,5 @@ void audio_input_mux(int source, unsigned flags) last_source = source; } /* audio_input_mux */ - +#endif /* INPUT_SRC_CAPS != 0 */ -- cgit v1.2.3