summaryrefslogtreecommitdiff
path: root/firmware/asm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/asm')
-rw-r--r--firmware/asm/lcd-as-memframe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/asm/lcd-as-memframe.c b/firmware/asm/lcd-as-memframe.c
index 3734c7d13a..fb31fa1953 100644
--- a/firmware/asm/lcd-as-memframe.c
+++ b/firmware/asm/lcd-as-memframe.c
@@ -33,12 +33,10 @@ extern void lcd_write_yuv420_lines(fb_data *dst,
33 /* Draw a partial YUV colour bitmap - similiar behavior to lcd_blit_yuv 33 /* Draw a partial YUV colour bitmap - similiar behavior to lcd_blit_yuv
34 in the core */ 34 in the core */
35 const unsigned char *ysrc, *usrc, *vsrc; 35 const unsigned char *ysrc, *usrc, *vsrc;
36 int height = 2, linecounter;
37 fb_data *row_end; 36 fb_data *row_end;
38 37
39 /* width and height must be >= 2 and an even number */ 38 /* width and height must be >= 2 and an even number */
40 width &= ~1; 39 width &= ~1;
41 linecounter = height >> 1;
42 40
43#if LCD_WIDTH >= LCD_HEIGHT 41#if LCD_WIDTH >= LCD_HEIGHT
44 row_end = dst + width; 42 row_end = dst + width;