summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/misc.c2
-rw-r--r--apps/tree.c2
2 files changed, 4 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));
diff --git a/apps/tree.c b/apps/tree.c
index 2fd91db..25b1796 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -807,6 +807,7 @@ static bool dirbrowse(void)
}
break;
#endif
+#ifndef IRIVER_H100
case TREE_OFF | BUTTON_REPEAT:
if (charger_inserted()) {
charging_splash();
@@ -814,6 +815,7 @@ static bool dirbrowse(void)
}
break;
#endif
+#endif
case TREE_PREV:
case TREE_PREV | BUTTON_REPEAT: