diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-07-16 11:02:14 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-07-16 11:02:14 +0000 |
commit | a12894c6dc53156ac6af2d270f1ce31f45a2aa17 (patch) | |
tree | 137c44085ed515db43cdfa6348453e34fcf6f509 /firmware/target/arm/audio-pp.c | |
parent | eb66b559e1566ffaf9ee7af6d19f7ea9b55fd2e5 (diff) |
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
Diffstat (limited to 'firmware/target/arm/audio-pp.c')
-rw-r--r-- | firmware/target/arm/audio-pp.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 */ |