From 6da68019b5c3b26f8dee8d209aaf563790d4e73d Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 10 Feb 2005 21:53:41 +0000 Subject: iRiver: Allow shutdown when charging git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5887 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/misc.c') diff --git a/apps/misc.c b/apps/misc.c index c92e817..e69880f 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -229,7 +229,9 @@ bool clean_shutdown(void) #ifdef SIMULATOR exit(0); #else +#ifndef IRIVER_H100 if(!charger_inserted()) +#endif { lcd_clear_display(); splash(0, true, str(LANG_SHUTTINGDOWN)); -- cgit v1.1