summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-09-03 17:36:22 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-09-03 17:36:22 +0000
commit548e4484c94a9aa47455afca54f1250cc997fe26 (patch)
tree330078b06462c151b8827b5b966e1e90eaf7d6a0 /apps
parent48865c45f102a8b32c653f7fc493b3c9686ad6be (diff)
downloadrockbox-548e4484c94a9aa47455afca54f1250cc997fe26.tar.gz
rockbox-548e4484c94a9aa47455afca54f1250cc997fe26.tar.bz2
rockbox-548e4484c94a9aa47455afca54f1250cc997fe26.zip
Fixed the warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10874 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/recording.c6
1 files changed, 4 insertions, 2 deletions
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