From f2d1f25202d3fd5cf853370aa080925e5e505e2c Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Fri, 24 Jun 2022 15:55:01 -0300 Subject: [PATCH] drivers/lcd: Fix regression on ILI9341 introduced after #6465 Signed-off-by: Gustavo Henrique Nihei --- drivers/lcd/ili9341.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/lcd/ili9341.c b/drivers/lcd/ili9341.c index ee0192c46b..d8471aa9eb 100644 --- a/drivers/lcd/ili9341.c +++ b/drivers/lcd/ili9341.c @@ -578,7 +578,7 @@ static int ili9341_putrun(FAR struct lcd_dev_s *lcd_dev, fb_coord_t row, fb_coord_t col, FAR const uint8_t * buffer, size_t npixels) { - FAR struct ili9341_dev_s *dev = (FAR struct ili9341_dev_s *)dev; + FAR struct ili9341_dev_s *dev = (FAR struct ili9341_dev_s *)lcd_dev; FAR struct ili9341_lcd_s *lcd = dev->lcd; FAR const uint16_t *src = (FAR const uint16_t *)buffer;