summaryrefslogtreecommitdiff
path: root/apps/wps-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r--apps/wps-display.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index a8980855e4..c64a1aa7dd 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -527,7 +527,7 @@ bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_all)
527 struct format_flags flags; 527 struct format_flags flags;
528 bool scroll_active = false; 528 bool scroll_active = false;
529 int i; 529 int i;
530 530#ifdef HAVE_LCD_BITMAP
531 /* to find out wether the peak meter is enabled we 531 /* to find out wether the peak meter is enabled we
532 assume it wasn't until we find a line that contains 532 assume it wasn't until we find a line that contains
533 the peak meter. We can't use peak_meter_enabled itself 533 the peak meter. We can't use peak_meter_enabled itself
@@ -536,7 +536,7 @@ bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_all)
536 or sleep is called but who knows...) 536 or sleep is called but who knows...)
537 */ 537 */
538 bool enable_pm = false; 538 bool enable_pm = false;
539 539#endif
540 if (!id3) 540 if (!id3)
541 { 541 {
542 lcd_stop_scroll(); 542 lcd_stop_scroll();
@@ -611,10 +611,11 @@ bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_all)
611 } 611 }
612 } 612 }
613 } 613 }
614 614#ifdef HAVE_LCD_BITMAP
615 /* Now we know wether the peak meter is used. 615 /* Now we know wether the peak meter is used.
616 So we can enable / disable the peak meter thread */ 616 So we can enable / disable the peak meter thread */
617 peak_meter_enabled = enable_pm; 617 peak_meter_enabled = enable_pm;
618#endif
618 lcd_update(); 619 lcd_update();
619 620
620 return true; 621 return true;