summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 35cefb163d..72e7bc4504 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -644,7 +644,7 @@ static bool dirbrowse(void)
644 if (!global_settings.party_mode) 644 if (!global_settings.party_mode)
645 audio_stop(); 645 audio_stop();
646 } 646 }
647#if defined(HAVE_CHARGING) && \ 647#if defined(CONFIG_CHARGING) && \
648 (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF) 648 (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF)
649 else { 649 else {
650 if (!charger_inserted()) { 650 if (!charger_inserted()) {
@@ -658,7 +658,7 @@ static bool dirbrowse(void)
658#endif 658#endif
659 } 659 }
660 break; 660 break;
661#if defined(HAVE_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING) 661#if defined(CONFIG_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING)
662 case TREE_OFF | BUTTON_REPEAT: 662 case TREE_OFF | BUTTON_REPEAT:
663 if (charger_inserted()) { 663 if (charger_inserted()) {
664 charging_splash(); 664 charging_splash();