Index: target/dartuinoP0/display/LS013B7DH06.c |
diff --git a/target/dartuinoP0/display/LS013B7DH06.c b/target/dartuinoP0/display/LS013B7DH06.c |
index 2b1f813999a0c028b5bc51a7a98839739738d2e1..5a3965ce9487f2f222e2e4c4806f060a2295d77c 100644 |
--- a/target/dartuinoP0/display/LS013B7DH06.c |
+++ b/target/dartuinoP0/display/LS013B7DH06.c |
@@ -29,7 +29,7 @@ |
uint8_t lcd_get_line(uint8_t *framebuffer, uint8_t idx, uint8_t *result) |
{ |
- framebuffer += MLCD_WIDTH * idx; |
+ framebuffer += FB_STRIDE * idx; |
memset(result, 0, MLCD_BYTES_LINE); |