summaryrefslogtreecommitdiffstats
path: root/apps/onplay.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2012-05-08 16:34:26 +0200
committerNils Wallménius <nils@rockbox.org>2012-05-09 14:32:38 +0200
commitd29a11b7a8f4ce230e9385a44f352a559bde753f (patch)
tree6fb4dc1699be894e5495dd862941606442239bfc /apps/onplay.c
parentd26a35d10b9e2f808b0e4880d5b5d1a2963258e9 (diff)
downloadrockbox-d29a11b7a8f4ce230e9385a44f352a559bde753f.tar.gz
rockbox-d29a11b7a8f4ce230e9385a44f352a559bde753f.tar.bz2
rockbox-d29a11b7a8f4ce230e9385a44f352a559bde753f.zip
Rename HAVE_PITCHSCREEN to HAVE_PITCHCONTROL
Also move the definition to config.h Change-Id: I36bb5020c5e06b2344292bc05e8c13ccc7a6a1ff Reviewed-on: http://gerrit.rockbox.org/234 Reviewed-by: Nils Wallménius <nils@rockbox.org>
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 11fffb9312..9152d87bf5 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -1000,7 +1000,7 @@ static int browse_id3_wrapper(void)
/* CONTEXT_WPS items */
MENUITEM_FUNCTION(browse_id3_item, MENU_FUNC_CHECK_RETVAL, ID2P(LANG_MENU_SHOW_ID3_INFO),
browse_id3_wrapper, NULL, NULL, Icon_NOICON);
-#ifdef HAVE_PITCHSCREEN
+#ifdef HAVE_PITCHCONTROL
MENUITEM_FUNCTION(pitch_screen_item, 0, ID2P(LANG_PITCH),
gui_syncpitchscreen_run, NULL, NULL, Icon_Audio);
#endif
@@ -1189,7 +1189,7 @@ MAKE_ONPLAYMENU( wps_onplay_menu, ID2P(LANG_ONPLAY_MENU_TITLE),
#endif
&browse_id3_item, &list_viewers_item,
&delete_file_item, &view_cue_item,
-#ifdef HAVE_PITCHSCREEN
+#ifdef HAVE_PITCHCONTROL
&pitch_screen_item,
#endif
);
@@ -1283,7 +1283,7 @@ static struct hotkey_assignment hotkey_items[] = {
{ HOTKEY_SHOW_TRACK_INFO, LANG_MENU_SHOW_ID3_INFO,
HOTKEY_FUNC(browse_id3, NULL),
ONPLAY_RELOAD_DIR },
-#ifdef HAVE_PITCHSCREEN
+#ifdef HAVE_PITCHCONTROL
{ HOTKEY_PITCHSCREEN, LANG_PITCH,
HOTKEY_FUNC(gui_syncpitchscreen_run, NULL),
ONPLAY_RELOAD_DIR },