You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2022/06/24 20:44:58 UTC

[incubator-nuttx] branch master updated: drivers/lcd: Fix regression on ILI9341 introduced after #6465

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new f2d1f25202 drivers/lcd: Fix regression on ILI9341 introduced after #6465
f2d1f25202 is described below

commit f2d1f25202d3fd5cf853370aa080925e5e505e2c
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Fri Jun 24 15:55:01 2022 -0300

    drivers/lcd: Fix regression on ILI9341 introduced after #6465
    
    Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
 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;