From 24c7c0489971d0ede3c23ea85b097990963d8ea1 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Fri, 10 Sep 2004 10:51:54 +0000 Subject: 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 --- apps/screens.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/screens.c') diff --git a/apps/screens.c b/apps/screens.c index 1026973697..1cf74acd2a 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -1085,10 +1085,12 @@ bool set_time_screen(const char* string, struct tm *tm) case BUTTON_ON: done = true; break; +#if (BUTTON_ON != BUTTON_OFF) case BUTTON_OFF: done = true; tm->tm_year = -1; break; +#endif default: if (default_event_handler(button) == SYS_USB_CONNECTED) -- cgit v1.2.3