diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c index 320e8f7e66..3074752add 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -742,7 +742,7 @@ static bool dirbrowse(void) | |||
742 | audio_stop(); | 742 | audio_stop(); |
743 | } | 743 | } |
744 | } | 744 | } |
745 | #if defined(CONFIG_CHARGING) && \ | 745 | #if CONFIG_CHARGING && \ |
746 | (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF) | 746 | (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF) |
747 | else { | 747 | else { |
748 | if (!charger_inserted()) { | 748 | if (!charger_inserted()) { |
@@ -755,7 +755,7 @@ static bool dirbrowse(void) | |||
755 | } | 755 | } |
756 | #endif | 756 | #endif |
757 | } | 757 | } |
758 | #if defined(CONFIG_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING) | 758 | #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) |
759 | { | 759 | { |
760 | static int last_off = 0; | 760 | static int last_off = 0; |
761 | if (current_tick - last_off < 50) { | 761 | if (current_tick - last_off < 50) { |