summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-08-11 22:12:40 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-08-11 22:12:40 +0000
commit05945074d1d2fa73e6d4b88d4480a6b9061a74a9 (patch)
tree3fc834c21ebaf1fcb35da791c20e80699021d216 /apps
parentda5f16a606a25e090020e1a9734572c6b1c0afa8 (diff)
downloadrockbox-05945074d1d2fa73e6d4b88d4480a6b9061a74a9.tar.gz
rockbox-05945074d1d2fa73e6d4b88d4480a6b9061a74a9.tar.bz2
rockbox-05945074d1d2fa73e6d4b88d4480a6b9061a74a9.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/gwps-common.c5
1 files changed, 5 insertions, 0 deletions
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 */