summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 698ef5b..e52a3e5 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -827,7 +827,7 @@ static bool dirbrowse(void)
}
break;
#endif
-#ifndef IRIVER_H100
+#if defined(HAVE_CHARGING) && !defined(IRIVER_H100)
case TREE_OFF | BUTTON_REPEAT:
if (charger_inserted()) {
charging_splash();