summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-bitmap-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-bitmap-common.c')
-rw-r--r--firmware/drivers/lcd-bitmap-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index d242096138..d09d293c26 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -84,7 +84,7 @@ static void lcd_gradient_rect(int x1, int x2, int y, unsigned h,
84/* 84/*
85 * draws the borders of the viewport, or of current_vp if vp == NULL 85 * draws the borders of the viewport, or of current_vp if vp == NULL
86 **/ 86 **/
87void LCDFN(draw_viewport)(const struct viewport *vp) 87void LCDFN(draw_viewport_rect)(const struct viewport *vp)
88{ 88{
89 if (vp == NULL) 89 if (vp == NULL)
90 LCDFN(drawrect)(0, 0, current_vp->width, current_vp->height); 90 LCDFN(drawrect)(0, 0, current_vp->width, current_vp->height);
@@ -95,7 +95,7 @@ void LCDFN(draw_viewport)(const struct viewport *vp)
95/* 95/*
96 * fills the rectangle formed by vp or by current_vp if vp == NULL 96 * fills the rectangle formed by vp or by current_vp if vp == NULL
97 **/ 97 **/
98void LCDFN(fill_viewport)(const struct viewport *vp) 98void LCDFN(fill_viewport_rect)(const struct viewport *vp)
99{ 99{
100 if (vp == NULL) 100 if (vp == NULL)
101 LCDFN(fillrect)(0, 0, current_vp->width, current_vp->height); 101 LCDFN(fillrect)(0, 0, current_vp->width, current_vp->height);