summaryrefslogtreecommitdiff
path: root/apps/sleeptimer.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/sleeptimer.c
parent6c1afd7a9e128f2ff628e3e4d2584024c2d8951f (diff)
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/sleeptimer.c')
-rw-r--r--apps/sleeptimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sleeptimer.c b/apps/sleeptimer.c
index a236ed9ba7..4fc7515ac0 100644
--- a/apps/sleeptimer.c
+++ b/apps/sleeptimer.c
@@ -94,7 +94,7 @@ bool sleeptimer_screen(void)
done = true;
break;
-#if defined(HAVE_PLAYER_KEYPAD) || defined(HAVE_NEO_KEYPAD)
+#if defined(HAVE_PLAYER_KEYPAD) || defined(HAVE_NEO_KEYPAD) || defined(HAVE_ONDIO_KEYPAD)
case BUTTON_RIGHT:
#else
case BUTTON_UP:
@@ -113,7 +113,7 @@ bool sleeptimer_screen(void)
set_sleep_timer(newtime);
break;
-#ifdef HAVE_PLAYER_KEYPAD
+#if defined(HAVE_PLAYER_KEYPAD) || defined(HAVE_ONDIO_KEYPAD)
case BUTTON_LEFT:
#else
case BUTTON_DOWN: