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

xiaoxiang 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 caf92cdadf Esp32 lilygo tty t5v2 bugfix
caf92cdadf is described below

commit caf92cdadfb77d0ae15158ba9a289d033f5193ff
Author: Adam Kaliszan <akalis...@altimetrik.com>
AuthorDate: Fri Jul 1 07:12:30 2022 +0200

    Esp32 lilygo tty t5v2 bugfix
    
    E-ink initialization failed because small bug in the code (just 5 missing 
chars
---
 boards/xtensa/esp32/common/src/esp32_ssd1680.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/xtensa/esp32/common/src/esp32_ssd1680.c 
b/boards/xtensa/esp32/common/src/esp32_ssd1680.c
index 8b518db653..9255a0a56a 100644
--- a/boards/xtensa/esp32/common/src/esp32_ssd1680.c
+++ b/boards/xtensa/esp32/common/src/esp32_ssd1680.c
@@ -183,7 +183,7 @@ int board_lcd_initialize(void)
        * Must be because setpower(1) function invokes the chip configuration
        */
 
-      g_lcddev->setpower(g_lcddev, CONFIG_LCD_MAXPOWER);
+      ret = g_lcddev->setpower(g_lcddev, CONFIG_LCD_MAXPOWER);
     }
 
   return ret;

Reply via email to