summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd.c')
-rw-r--r--firmware/drivers/lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c
index a228a6501b..6ac9adcd8e 100644
--- a/firmware/drivers/lcd.c
+++ b/firmware/drivers/lcd.c
@@ -655,7 +655,7 @@ void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny,
if (((unsigned)(y + ny)) >= LCD_HEIGHT)
ny = LCD_HEIGHT - y;
- shift = y & 2;
+ shift = y & 7;
dst2 = &display[x][y/8];
ny += shift;