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 +++--- apps/gui/wps.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/gui') 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(); diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 25c97fe613..1acd00d120 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -1011,7 +1011,7 @@ long gui_wps_show(void) #endif /* BUTTON_F3 */ /* pitch screen */ -#ifdef HAVE_PITCHSCREEN +#ifdef HAVE_PITCHCONTROL case ACTION_WPS_PITCHSCREEN: { gwps_leave_wps(); @@ -1020,7 +1020,7 @@ long gui_wps_show(void) restore = true; } break; -#endif /* HAVE_PITCHSCREEN */ +#endif /* HAVE_PITCHCONTROL */ #ifdef AB_REPEAT_ENABLE /* reset A&B markers */ -- cgit v1.2.3