diff options
| author | Zakk Roberts <midk@rockbox.org> | 2006-03-22 02:44:18 +0000 |
|---|---|---|
| committer | Zakk Roberts <midk@rockbox.org> | 2006-03-22 02:44:18 +0000 |
| commit | c5b63269fc23ab6aa1231c44029b8288e6f7d519 (patch) | |
| tree | 24a44eebadbe275ded7ee1ba584b70eaada2ed44 | |
| parent | 5b93eb6f74f938751ec72bfbcc1be2f0ba4d015b (diff) | |
| download | rockbox-c5b63269fc23ab6aa1231c44029b8288e6f7d519.zip rockbox-c5b63269fc23ab6aa1231c44029b8288e6f7d519.tar.gz rockbox-c5b63269fc23ab6aa1231c44029b8288e6f7d519.tar.bz2 rockbox-c5b63269fc23ab6aa1231c44029b8288e6f7d519.tar.xz | |
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
| -rw-r--r-- | apps/onplay.c | 2 | ||||
| -rw-r--r-- | apps/screens.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 2a86dfb..2beb374 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 ce66c40..1fabcfc 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) |