From d29a11b7a8f4ce230e9385a44f352a559bde753f Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Tue, 8 May 2012 16:34:26 +0200 Subject: Rename HAVE_PITCHSCREEN to HAVE_PITCHCONTROL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also move the definition to config.h Change-Id: I36bb5020c5e06b2344292bc05e8c13ccc7a6a1ff Reviewed-on: http://gerrit.rockbox.org/234 Reviewed-by: Nils Wallménius --- apps/gui/skin_engine/skin_tokens.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/gui/skin_engine') diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 578a729bb3..b550a90073 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c @@ -125,7 +125,7 @@ char* get_dir(char* buf, int buf_size, const char* path, int level) return buf; } -#if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHSCREEN) +#if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHCONTROL) /* A helper to determine the enum value for pitch/speed. When there are two choices (i.e. boolean), return 1 if the value is @@ -1462,7 +1462,7 @@ const char *get_token_value(struct gui_wps *gwps, } #endif /* (CONFIG_CODEC == SWCODEC) */ -#if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHSCREEN) +#if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHCONTROL) case SKIN_TOKEN_SOUND_PITCH: { int32_t pitch = sound_get_pitch(); @@ -1477,7 +1477,7 @@ const char *get_token_value(struct gui_wps *gwps, } #endif -#if (CONFIG_CODEC == SWCODEC) && defined (HAVE_PITCHSCREEN) +#if (CONFIG_CODEC == SWCODEC) && defined (HAVE_PITCHCONTROL) case SKIN_TOKEN_SOUND_SPEED: { int32_t pitch = sound_get_pitch(); -- cgit v1.2.3