summaryrefslogtreecommitdiff
path: root/apps/recorder
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/recorder
parent48865c45f102a8b32c653f7fc493b3c9686ad6be (diff)
downloadrockbox-548e4484c94a9aa47455afca54f1250cc997fe26.tar.gz
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/recorder')
-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)
535 535
536#if CONFIG_CODEC == SWCODEC && !defined(SIMULATOR) 536#if CONFIG_CODEC == SWCODEC && !defined(SIMULATOR)
537 537
538#ifdef HAVE_ADJUSTABLE_CPU_FREQ 538# ifdef HAVE_SPDIF_IN
539# ifdef HAVE_ADJUSTABLE_CPU_FREQ
539static void rec_boost(bool state) 540static void rec_boost(bool state)
540{ 541{
541 static bool cpu_boosted = false; 542 static bool cpu_boosted = false;
@@ -546,7 +547,8 @@ static void rec_boost(bool state)
546 cpu_boosted = state; 547 cpu_boosted = state;
547 } 548 }
548} 549}
549#endif 550# endif
551# endif
550 552
551/** 553/**
552 * Selects an audio source for recording or playback 554 * Selects an audio source for recording or playback