We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 089cf52 commit 8cceb5fCopy full SHA for 8cceb5f
lcd/hal/esp32.c
@@ -81,8 +81,8 @@ void hal_lcd_rgb_construct(lcd_rgb_obj_t *self) {
81
.clk_src = LCD_CLK_SRC_PLL160M,
82
.timings = {
83
.pclk_hz = self->pclk,
84
- .h_res = self->height,
85
- .v_res = self->width,
+ .h_res = self->width,
+ .v_res = self->height,
86
// The following parameters should refer to LCD spec
87
.hsync_pulse_width = self->timings.hsync_pulse_width,
88
.hsync_back_porch = self->timings.hsync_back_porch,
0 commit comments