summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-color-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-color-common.c')
-rw-r--r--firmware/drivers/lcd-color-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-color-common.c b/firmware/drivers/lcd-color-common.c
index 60e95a25ca..3abc671770 100644
--- a/firmware/drivers/lcd-color-common.c
+++ b/firmware/drivers/lcd-color-common.c
@@ -586,7 +586,7 @@ void lcd_gradient_fillrect_part(int x, int y, int width, int height,
586 int x1, x2; 586 int x1, x2;
587 x1 = x; 587 x1 = x;
588 x2 = x + width; 588 x2 = x + width;
589 589
590 if (height == 0) return; 590 if (height == 0) return;
591 591
592 step_mul = (1 << 16) / src_height; 592 step_mul = (1 << 16) / src_height;