From 05945074d1d2fa73e6d4b88d4480a6b9061a74a9 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Mon, 11 Aug 2008 22:12:40 +0000 Subject: Fix FS#8689 (the peak meter does not work during a playing after a recording not followed by a reboot) by applying the patch from FS#9227. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18249 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 0ec89b7140..8c349ea35c 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -2054,9 +2054,14 @@ bool gui_wps_refresh(struct gui_wps *gwps, /* found a line with a peak meter -> remember that we must enable it later */ enable_pm = true; + peak_meter_enabled = true; peak_meter_screen(gwps->display, 0, peak_meter_y, MIN(h, display->getheight() - peak_meter_y)); } + else + { + peak_meter_enabled = false; + } } #else /* HAVE_LCD_CHARCELL */ -- cgit v1.2.3