summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c6
-rw-r--r--apps/gui/wps.c4
2 files changed, 5 insertions, 5 deletions
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)
125 return buf; 125 return buf;
126} 126}
127 127
128#if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHSCREEN) 128#if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHCONTROL)
129/* A helper to determine the enum value for pitch/speed. 129/* A helper to determine the enum value for pitch/speed.
130 130
131 When there are two choices (i.e. boolean), return 1 if the value is 131 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,
1462 } 1462 }
1463#endif /* (CONFIG_CODEC == SWCODEC) */ 1463#endif /* (CONFIG_CODEC == SWCODEC) */
1464 1464
1465#if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHSCREEN) 1465#if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHCONTROL)
1466 case SKIN_TOKEN_SOUND_PITCH: 1466 case SKIN_TOKEN_SOUND_PITCH:
1467 { 1467 {
1468 int32_t pitch = sound_get_pitch(); 1468 int32_t pitch = sound_get_pitch();
@@ -1477,7 +1477,7 @@ const char *get_token_value(struct gui_wps *gwps,
1477 } 1477 }
1478#endif 1478#endif
1479 1479
1480#if (CONFIG_CODEC == SWCODEC) && defined (HAVE_PITCHSCREEN) 1480#if (CONFIG_CODEC == SWCODEC) && defined (HAVE_PITCHCONTROL)
1481 case SKIN_TOKEN_SOUND_SPEED: 1481 case SKIN_TOKEN_SOUND_SPEED:
1482 { 1482 {
1483 int32_t pitch = sound_get_pitch(); 1483 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)
1011#endif /* BUTTON_F3 */ 1011#endif /* BUTTON_F3 */
1012 1012
1013 /* pitch screen */ 1013 /* pitch screen */
1014#ifdef HAVE_PITCHSCREEN 1014#ifdef HAVE_PITCHCONTROL
1015 case ACTION_WPS_PITCHSCREEN: 1015 case ACTION_WPS_PITCHSCREEN:
1016 { 1016 {
1017 gwps_leave_wps(); 1017 gwps_leave_wps();
@@ -1020,7 +1020,7 @@ long gui_wps_show(void)
1020 restore = true; 1020 restore = true;
1021 } 1021 }
1022 break; 1022 break;
1023#endif /* HAVE_PITCHSCREEN */ 1023#endif /* HAVE_PITCHCONTROL */
1024 1024
1025#ifdef AB_REPEAT_ENABLE 1025#ifdef AB_REPEAT_ENABLE
1026 /* reset A&B markers */ 1026 /* reset A&B markers */