From c5b63269fc23ab6aa1231c44029b8288e6f7d519 Mon Sep 17 00:00:00 2001 From: Zakk Roberts Date: Wed, 22 Mar 2006 02:44:18 +0000 Subject: [PATCH] Whoops, the Archos Player/Studio doesn't have the ability to change pitch.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9176 a1c6a512-1295-4272-9138-f99709370657 --- apps/onplay.c | 2 ++ apps/screens.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/apps/onplay.c b/apps/onplay.c index 2a86dfbaf5..2beb374956 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -909,10 +909,12 @@ int onplay(char* file, int attr, int from) } if (context == CONTEXT_WPS) { +#if (CONFIG_KEYPAD != PLAYER_PAD) /* Pitch screen access */ items[i].desc = ID2P(LANG_PITCH); items[i].function = pitch_screen; i++; +#endif #if CONFIG_CODEC == SWCODEC /* Equalizer menu items */ items[i].desc = ID2P(LANG_EQUALIZER_GRAPHICAL); diff --git a/apps/screens.c b/apps/screens.c index ce66c40418..1fabcfc98a 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -345,6 +345,7 @@ int charging_screen(void) } #endif /* HAVE_CHARGING && !HAVE_POWEROFF_WHILE_CHARGING */ +#if (CONFIG_KEYPAD != PLAYER_PAD) /* returns: 0 if no key was pressed 1 if USB was connected */ @@ -457,6 +458,7 @@ bool pitch_screen(void) lcd_setfont(FONT_UI); return 0; } +#endif #if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == IRIVER_H100_PAD) ||\ (CONFIG_KEYPAD == IRIVER_H300_PAD)