1
0
Fork 0
forked from len0rd/rockbox

Fix red builds

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8392 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Brandon Low 2006-01-19 20:12:49 +00:00
parent a452c7410d
commit b016185c99

View file

@ -284,7 +284,7 @@ static void button_tick(void)
#else
if (btn == POWEROFF_BUTTON &&
#endif
#ifndef HAVE_POWEROFF_WHILE_CHARGING
#if defined(HAVE_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING)
!charger_inserted() &&
#endif
repeat_count > POWEROFF_COUNT)