From 548e4484c94a9aa47455afca54f1250cc997fe26 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sun, 3 Sep 2006 17:36:22 +0000 Subject: Fixed the warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10874 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/recording.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/recorder') diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index ff002d7685..118965d496 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -535,7 +535,8 @@ int rec_create_directory(void) #if CONFIG_CODEC == SWCODEC && !defined(SIMULATOR) -#ifdef HAVE_ADJUSTABLE_CPU_FREQ +# ifdef HAVE_SPDIF_IN +# ifdef HAVE_ADJUSTABLE_CPU_FREQ static void rec_boost(bool state) { static bool cpu_boosted = false; @@ -546,7 +547,8 @@ static void rec_boost(bool state) cpu_boosted = state; } } -#endif +# endif +# endif /** * Selects an audio source for recording or playback -- cgit v1.2.3