summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */