summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/gwps-common.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 8bfec1c..7d17eae 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -1207,8 +1207,6 @@ static void wps_draw_image(struct gui_wps *gwps, int n)
display->mono_bitmap(data->img[n].ptr, data->img[n].x,
data->img[n].y, data->img[n].w,
data->img[n].h);
- display->update_rect(data->img[n].x, data->img[n].y,
- data->img[n].w, data->img[n].h);
}
static void wps_display_images(struct gui_wps *gwps, bool always)
{
@@ -1654,7 +1652,6 @@ bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset,
#ifdef HAVE_LCD_BITMAP
if (update_line) {
wps_display_images(gwps,false);
- display->update_rect(0, i*h + offset, display->width, h);
}
#endif
}
@@ -1662,7 +1659,7 @@ bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset,
#ifdef HAVE_LCD_BITMAP
/* Display all images */
wps_display_images(gwps,true);
-
+ display->update();
/* Now we know wether the peak meter is used.
So we can enable / disable the peak meter thread */
data->peak_meter_enabled = enable_pm;
@@ -2115,10 +2112,6 @@ bool gui_wps_display(void)
FOR_NB_SCREENS(i)
{
gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL);
-
-#ifdef HAVE_LCD_BITMAP
- gui_wps[i].display->update();
-#endif
}
return false;
}