diff options
-rw-r--r-- | apps/plugins/battery_bench.c | 3 | ||||
-rw-r--r-- | apps/tree.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c index 3d9556d924..f9fd6e809b 100644 --- a/apps/plugins/battery_bench.c +++ b/apps/plugins/battery_bench.c | |||
@@ -326,9 +326,10 @@ int main(void) | |||
326 | { | 326 | { |
327 | int button, fd; | 327 | int button, fd; |
328 | bool on = false; | 328 | bool on = false; |
329 | #ifdef HAVE_LCD_BITMAP | ||
329 | const char *msgs[] = { "Battery Benchmark","Check file", BATTERY_LOG, | 330 | const char *msgs[] = { "Battery Benchmark","Check file", BATTERY_LOG, |
330 | "for more info", "PLAY - start", "OFF - quit" }; | 331 | "for more info", "PLAY - start", "OFF - quit" }; |
331 | 332 | #endif | |
332 | rb->lcd_clear_display(); | 333 | rb->lcd_clear_display(); |
333 | 334 | ||
334 | #ifdef HAVE_LCD_BITMAP | 335 | #ifdef HAVE_LCD_BITMAP |
diff --git a/apps/tree.c b/apps/tree.c index d69217e5b2..ca7b83ef3f 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -639,7 +639,8 @@ static bool dirbrowse(void) | |||
639 | /* Stop the music if it is playing */ | 639 | /* Stop the music if it is playing */ |
640 | if(audio_status()) | 640 | if(audio_status()) |
641 | audio_stop(); | 641 | audio_stop(); |
642 | #if (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF) | 642 | #if defined(HAVE_CHARGING) && \ |
643 | (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF) | ||
643 | else { | 644 | else { |
644 | if (!charger_inserted()) { | 645 | if (!charger_inserted()) { |
645 | if(shutdown_screen()) | 646 | if(shutdown_screen()) |