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:
parent
a452c7410d
commit
b016185c99
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue