1
0
Fork 0
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:
Jens Arnold 2005-07-01 16:22:56 +00:00
parent c5bdca9b62
commit 0ec97339ae
2 changed files with 2 additions and 2 deletions

View file

@ -278,7 +278,7 @@ bool clean_shutdown(void)
#ifdef SIMULATOR #ifdef SIMULATOR
exit(0); exit(0);
#else #else
#ifndef IRIVER_H100 #ifndef HAVE_POWEROFF_WHILE_CHARGING
if(!charger_inserted()) if(!charger_inserted())
#endif #endif
{ {

View file

@ -127,7 +127,7 @@ static void button_tick(void)
#else #else
if (btn == BUTTON_OFF && if (btn == BUTTON_OFF &&
#endif #endif
#ifndef IRIVER_H100 #ifndef HAVE_POWEROFF_WHILE_CHARGING
!charger_inserted() && !charger_inserted() &&
#endif #endif
repeat_count > POWEROFF_COUNT) repeat_count > POWEROFF_COUNT)