From 0ec97339aee7b39f4c4fd846a91afcccf658ea7f Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 1 Jul 2005 16:22:56 +0000 Subject: Check for features, not for models. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware') diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index af15f1c..b4ab720 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) -- cgit v1.1