diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-07-01 16:22:56 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-07-01 16:22:56 +0000 |
commit | 0ec97339aee7b39f4c4fd846a91afcccf658ea7f (patch) | |
tree | 79e581541b23c62176aa9073e2c6e1db4e0c7fb8 /firmware/drivers/button.c | |
parent | c5bdca9b62c3119fa3f9e355b5971a76daf65f7f (diff) |
Check for features, not for models.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r-- | firmware/drivers/button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index af15f1cf94..b4ab7203a3 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -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) |