Fix red builds more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8394 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
178a85f31c
commit
3249f3eb87
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
|||
(void)parameter;
|
||||
exit(0);
|
||||
#else
|
||||
#ifndef HAVE_POWEROFF_WHILE_CHARGING
|
||||
#if defined(HAVE_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING)
|
||||
if(!charger_inserted())
|
||||
#endif
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue