diff --git a/components/esp_lcd/src/esp_lcd_panel_nt35510.c b/components/esp_lcd/src/esp_lcd_panel_nt35510.c index 33c2399410..3bae8dae1b 100644 --- a/components/esp_lcd/src/esp_lcd_panel_nt35510.c +++ b/components/esp_lcd/src/esp_lcd_panel_nt35510.c @@ -154,7 +154,7 @@ static esp_err_t panel_nt35510_init(esp_lcd_panel_t *panel) esp_lcd_panel_io_tx_param(io, LCD_CMD_SLPOUT << 8, NULL, 0); vTaskDelay(pdMS_TO_TICKS(100)); esp_lcd_panel_io_tx_param(io, LCD_CMD_MADCTL << 8, (uint16_t[]) { - 0 + nt35510->madctl_val, }, 2); esp_lcd_panel_io_tx_param(io, LCD_CMD_COLMOD << 8, (uint16_t[]) { nt35510->colmod_cal, diff --git a/components/esp_lcd/src/esp_lcd_panel_st7789.c b/components/esp_lcd/src/esp_lcd_panel_st7789.c index 834bdc894d..e182f969c8 100644 --- a/components/esp_lcd/src/esp_lcd_panel_st7789.c +++ b/components/esp_lcd/src/esp_lcd_panel_st7789.c @@ -150,7 +150,7 @@ static esp_err_t panel_st7789_init(esp_lcd_panel_t *panel) esp_lcd_panel_io_tx_param(io, LCD_CMD_SLPOUT, NULL, 0); vTaskDelay(pdMS_TO_TICKS(100)); esp_lcd_panel_io_tx_param(io, LCD_CMD_MADCTL, (uint8_t[]) { - 0 + st7789->madctl_val, }, 1); esp_lcd_panel_io_tx_param(io, LCD_CMD_COLMOD, (uint8_t[]) { st7789->colmod_cal,