summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c
index bc2df3ab5a..055bcd2983 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -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
{