diff --git a/boards/xtensa/esp32/common/src/esp32_ssd1680.c b/boards/xtensa/esp32/common/src/esp32_ssd1680.c index 8b518db6530..9255a0a56a4 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;