summaryrefslogtreecommitdiffstats
path: root/apps/wps.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-09-10 10:51:54 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-09-10 10:51:54 +0000
commit24c7c0489971d0ede3c23ea85b097990963d8ea1 (patch)
tree911195d6162a12409aa7c5993b02dfa3f31ce08a /apps/wps.c
parent6c1afd7a9e128f2ff628e3e4d2584024c2d8951f (diff)
downloadrockbox-24c7c0489971d0ede3c23ea85b097990963d8ea1.tar.gz
rockbox-24c7c0489971d0ede3c23ea85b097990963d8ea1.zip
adjustment for the Ondio: button driver has an Odio part, for now it has a Player layout. Some fixes in the app code were necessary to remove dependencies of LCD, keypad, this wasn't independent everywhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5055 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps.c')
-rw-r--r--apps/wps.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 65b01b10a5..92b4e008b8 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -61,7 +61,7 @@ static struct mp3entry* id3 = NULL;
static struct mp3entry* nid3 = NULL;
static char current_track_path[MAX_PATH+1];
-#if defined(HAVE_PLAYER_KEYPAD) || defined(HAVE_NEO_KEYPAD)
+#if defined(HAVE_PLAYER_KEYPAD) || defined(HAVE_NEO_KEYPAD) || defined(HAVE_ONDIO_KEYPAD)
void player_change_volume(int button)
{
bool exit = false;
@@ -577,9 +577,11 @@ static bool menu(void)
/* show id3 tags */
#ifdef BUTTON_ON
case BUTTON_MENU | BUTTON_ON:
+#ifdef HAVE_LCD_CHARCELLS
status_set_param(true);
status_set_audio(true);
#endif
+#endif
#else
case BUTTON_F1 | BUTTON_ON:
#endif
@@ -811,9 +813,11 @@ int wps_show(void)
case 0:
/* otherwise, exit to browser */
#else
+#ifdef HAVE_LCD_CHARCELLS
status_set_record(false);
status_set_audio(false);
#endif
+#endif
lcd_stop_scroll();
/* set dir browser to current playing song */