forked from len0rd/rockbox
Check for features, not for models.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c5bdca9b62
commit
0ec97339ae
2 changed files with 2 additions and 2 deletions
|
@ -278,7 +278,7 @@ bool clean_shutdown(void)
|
|||
#ifdef SIMULATOR
|
||||
exit(0);
|
||||
#else
|
||||
#ifndef IRIVER_H100
|
||||
#ifndef HAVE_POWEROFF_WHILE_CHARGING
|
||||
if(!charger_inserted())
|
||||
#endif
|
||||
{
|
||||
|
|
|
@ -127,7 +127,7 @@ static void button_tick(void)
|
|||
#else
|
||||
if (btn == BUTTON_OFF &&
|
||||
#endif
|
||||
#ifndef IRIVER_H100
|
||||
#ifndef HAVE_POWEROFF_WHILE_CHARGING
|
||||
!charger_inserted() &&
|
||||
#endif
|
||||
repeat_count > POWEROFF_COUNT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue