diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-10 21:53:41 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-10 21:53:41 +0000 |
| commit | 6da68019b5c3b26f8dee8d209aaf563790d4e73d (patch) | |
| tree | 0133da6ddb638d35f5efa6df34e7ae304181ef14 /apps/misc.c | |
| parent | abcb16192eef1f54fee0eff5356fff1bc303da39 (diff) | |
| download | rockbox-6da68019b5c3b26f8dee8d209aaf563790d4e73d.zip rockbox-6da68019b5c3b26f8dee8d209aaf563790d4e73d.tar.gz rockbox-6da68019b5c3b26f8dee8d209aaf563790d4e73d.tar.bz2 rockbox-6da68019b5c3b26f8dee8d209aaf563790d4e73d.tar.xz | |
iRiver: Allow shutdown when charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5887 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.c')
| -rw-r--r-- | apps/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |