diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/gwps-common.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 8bfec1c00f..7d17eaefab 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) | |||
1207 | display->mono_bitmap(data->img[n].ptr, data->img[n].x, | 1207 | display->mono_bitmap(data->img[n].ptr, data->img[n].x, |
1208 | data->img[n].y, data->img[n].w, | 1208 | data->img[n].y, data->img[n].w, |
1209 | data->img[n].h); | 1209 | data->img[n].h); |
1210 | display->update_rect(data->img[n].x, data->img[n].y, | ||
1211 | data->img[n].w, data->img[n].h); | ||
1212 | } | 1210 | } |
1213 | static void wps_display_images(struct gui_wps *gwps, bool always) | 1211 | static void wps_display_images(struct gui_wps *gwps, bool always) |
1214 | { | 1212 | { |
@@ -1654,7 +1652,6 @@ bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset, | |||
1654 | #ifdef HAVE_LCD_BITMAP | 1652 | #ifdef HAVE_LCD_BITMAP |
1655 | if (update_line) { | 1653 | if (update_line) { |
1656 | wps_display_images(gwps,false); | 1654 | wps_display_images(gwps,false); |
1657 | display->update_rect(0, i*h + offset, display->width, h); | ||
1658 | } | 1655 | } |
1659 | #endif | 1656 | #endif |
1660 | } | 1657 | } |
@@ -1662,7 +1659,7 @@ bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset, | |||
1662 | #ifdef HAVE_LCD_BITMAP | 1659 | #ifdef HAVE_LCD_BITMAP |
1663 | /* Display all images */ | 1660 | /* Display all images */ |
1664 | wps_display_images(gwps,true); | 1661 | wps_display_images(gwps,true); |
1665 | 1662 | display->update(); | |
1666 | /* Now we know wether the peak meter is used. | 1663 | /* Now we know wether the peak meter is used. |
1667 | So we can enable / disable the peak meter thread */ | 1664 | So we can enable / disable the peak meter thread */ |
1668 | data->peak_meter_enabled = enable_pm; | 1665 | data->peak_meter_enabled = enable_pm; |
@@ -2115,10 +2112,6 @@ bool gui_wps_display(void) | |||
2115 | FOR_NB_SCREENS(i) | 2112 | FOR_NB_SCREENS(i) |
2116 | { | 2113 | { |
2117 | gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL); | 2114 | gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL); |
2118 | |||
2119 | #ifdef HAVE_LCD_BITMAP | ||
2120 | gui_wps[i].display->update(); | ||
2121 | #endif | ||
2122 | } | 2115 | } |
2123 | return false; | 2116 | return false; |
2124 | } | 2117 | } |