Skip to content

Commit 761e635

Browse files
committed
Merge branch 'contrib/github_pr_516' into 'master'
Fix the esp_lcd_dpi_panel_config_t intialization order (GitHub PR) Closes AEGHB-1088 See merge request ae_group/esp-iot-solution!1339
2 parents 6e7086c + 47f825f commit 761e635

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/display/lcd/esp_lcd_ek79007/include/esp_lcd_ek79007.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,22 @@ esp_err_t esp_lcd_new_panel_ek79007(const esp_lcd_panel_io_handle_t io, const es
9595
*/
9696
#define EK79007_1024_600_PANEL_60HZ_CONFIG(px_format) \
9797
{ \
98+
.virtual_channel = 0, \
9899
.dpi_clk_src = MIPI_DSI_DPI_CLK_SRC_DEFAULT, \
99100
.dpi_clock_freq_mhz = 52, \
100-
.virtual_channel = 0, \
101101
.pixel_format = px_format, \
102102
.num_fbs = 1, \
103103
.video_timing = { \
104104
.h_size = 1024, \
105105
.v_size = 600, \
106-
.hsync_back_porch = 160, \
107106
.hsync_pulse_width = 10, \
107+
.hsync_back_porch = 160, \
108108
.hsync_front_porch = 160, \
109-
.vsync_back_porch = 23, \
110109
.vsync_pulse_width = 1, \
110+
.vsync_back_porch = 23, \
111111
.vsync_front_porch = 12, \
112112
}, \
113-
.flags.use_dma2d = true, \
113+
.flags = { .use_dma2d = true, }, \
114114
}
115115

116116
#ifdef __cplusplus

0 commit comments

Comments
 (0)