drivers/lcd: Fix regression on ILI9341 introduced after #6465

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-06-24 15:55:01 -03:00 committed by Alan Carvalho de Assis
parent 02690fe58e
commit f2d1f25202
1 changed files with 1 additions and 1 deletions

View File

@ -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;