summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-09-17 20:28:47 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-09-17 20:28:47 +0000
commitf366090562dcdc1c4c0efbd87476ef6c068b7db5 (patch)
tree17bf868c61d677ce7969bcc5312e5a69abeda428 /apps/main.c
parentbd43690170ea9441226557bf58907654338b6029 (diff)
downloadrockbox-f366090562dcdc1c4c0efbd87476ef6c068b7db5.tar.gz
rockbox-f366090562dcdc1c4c0efbd87476ef6c068b7db5.zip
Make disabling HAVE_PITCHSCREEN actually work without breaking the build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28102 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index b86b083e44..949790b05f 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -399,7 +399,7 @@ static void init(void)
399#endif /* CONFIG_CODEC != SWCODEC */ 399#endif /* CONFIG_CODEC != SWCODEC */
400 400
401 scrobbler_init(); 401 scrobbler_init();
402#if CONFIG_CODEC == SWCODEC 402#if CONFIG_CODEC == SWCODEC && defined (HAVE_PITCHSCREEN)
403 tdspeed_init(); 403 tdspeed_init();
404#endif /* CONFIG_CODEC == SWCODEC */ 404#endif /* CONFIG_CODEC == SWCODEC */
405 405
@@ -663,7 +663,7 @@ static void init(void)
663 tree_mem_init(); 663 tree_mem_init();
664 filetype_init(); 664 filetype_init();
665 scrobbler_init(); 665 scrobbler_init();
666#if CONFIG_CODEC == SWCODEC 666#if CONFIG_CODEC == SWCODEC && defined (HAVE_PITCHSCREEN)
667 tdspeed_init(); 667 tdspeed_init();
668#endif /* CONFIG_CODEC == SWCODEC */ 668#endif /* CONFIG_CODEC == SWCODEC */
669 theme_init_buffer(); 669 theme_init_buffer();