1
0
Fork 0
forked from len0rd/rockbox

Oops! Compile error on ondio and gmini... fixed now

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6620 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomas Salfischberger 2005-06-08 18:01:14 +00:00
parent 5b338bd8a7
commit 70fca2f6fc

View file

@ -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