diff options
Diffstat (limited to 'firmware/target/arm/tcc77x/c100/lcd-S6B33B2.c')
-rw-r--r-- | firmware/target/arm/tcc77x/c100/lcd-S6B33B2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc77x/c100/lcd-S6B33B2.c b/firmware/target/arm/tcc77x/c100/lcd-S6B33B2.c index 4abd17741b..c53aadaf30 100644 --- a/firmware/target/arm/tcc77x/c100/lcd-S6B33B2.c +++ b/firmware/target/arm/tcc77x/c100/lcd-S6B33B2.c @@ -252,7 +252,7 @@ void lcd_update_rect(int x, int y, int width, int height) if ((width <= 0) || (height <= 0)) return; /* Nothing left to do. */ - addr = &lcd_framebuffer[y][x]; + addr = FBADDR(x,y); if (width <= 1) { lcd_send_command(R_ENTRY_MODE); /* The X end address must be larger */ |