1
0
Fork 0
forked from len0rd/rockbox

CONFIG_CHARGING

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-02-18 05:32:06 +00:00
parent bd47d48c21
commit 9a6f419775
25 changed files with 72 additions and 68 deletions

View file

@ -164,7 +164,7 @@ static void button_tick(void)
|| btn == RC_POWEROFF_BUTTON
#endif
) &&
#if defined(CONFIG_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING)
#if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING)
!charger_inserted() &&
#endif
repeat_count > POWEROFF_COUNT)