From f366090562dcdc1c4c0efbd87476ef6c068b7db5 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Fri, 17 Sep 2010 20:28:47 +0000 Subject: 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 --- apps/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index b86b083..949790b 100644 --- a/apps/main.c +++ b/apps/main.c @@ -399,7 +399,7 @@ static void init(void) #endif /* CONFIG_CODEC != SWCODEC */ scrobbler_init(); -#if CONFIG_CODEC == SWCODEC +#if CONFIG_CODEC == SWCODEC && defined (HAVE_PITCHSCREEN) tdspeed_init(); #endif /* CONFIG_CODEC == SWCODEC */ @@ -663,7 +663,7 @@ static void init(void) tree_mem_init(); filetype_init(); scrobbler_init(); -#if CONFIG_CODEC == SWCODEC +#if CONFIG_CODEC == SWCODEC && defined (HAVE_PITCHSCREEN) tdspeed_init(); #endif /* CONFIG_CODEC == SWCODEC */ theme_init_buffer(); -- cgit v1.1