summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/onplay.c2
-rw-r--r--apps/screens.c2
2 files changed, 4 insertions, 0 deletions
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)
909 } 909 }
910 if (context == CONTEXT_WPS) 910 if (context == CONTEXT_WPS)
911 { 911 {
912#if (CONFIG_KEYPAD != PLAYER_PAD)
912 /* Pitch screen access */ 913 /* Pitch screen access */
913 items[i].desc = ID2P(LANG_PITCH); 914 items[i].desc = ID2P(LANG_PITCH);
914 items[i].function = pitch_screen; 915 items[i].function = pitch_screen;
915 i++; 916 i++;
917#endif
916#if CONFIG_CODEC == SWCODEC 918#if CONFIG_CODEC == SWCODEC
917 /* Equalizer menu items */ 919 /* Equalizer menu items */
918 items[i].desc = ID2P(LANG_EQUALIZER_GRAPHICAL); 920 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)
345} 345}
346#endif /* HAVE_CHARGING && !HAVE_POWEROFF_WHILE_CHARGING */ 346#endif /* HAVE_CHARGING && !HAVE_POWEROFF_WHILE_CHARGING */
347 347
348#if (CONFIG_KEYPAD != PLAYER_PAD)
348/* returns: 349/* returns:
349 0 if no key was pressed 350 0 if no key was pressed
350 1 if USB was connected */ 351 1 if USB was connected */
@@ -457,6 +458,7 @@ bool pitch_screen(void)
457 lcd_setfont(FONT_UI); 458 lcd_setfont(FONT_UI);
458 return 0; 459 return 0;
459} 460}
461#endif
460 462
461#if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == IRIVER_H100_PAD) ||\ 463#if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == IRIVER_H100_PAD) ||\
462 (CONFIG_KEYPAD == IRIVER_H300_PAD) 464 (CONFIG_KEYPAD == IRIVER_H300_PAD)