From 70fca2f6fcb30669b9107e96d2191edef0757502 Mon Sep 17 00:00:00 2001 From: Tomas Salfischberger Date: Wed, 8 Jun 2005 18:01:14 +0000 Subject: Oops! Compile error on ondio and gmini... fixed now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6620 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/button.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/drivers') diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 24de08f672..820ca250bc 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -123,7 +123,11 @@ static void button_tick(void) which doesn't shut down easily with the OFF key */ #ifdef HAVE_SW_POWEROFF +#ifdef BUTTON_RC_STOP if ((btn == BUTTON_OFF || btn == BUTTON_RC_STOP) && +#else + if (btn == BUTTON_OFF && +#endif #ifndef IRIVER_H100 !charger_inserted() && #endif -- cgit v1.2.3