Merge branch 'bugfix/rgb_panel_set_gap_v4.4' into 'release/v4.4'

rgb_lcd: fix error in rgb_panel_set_gap

See merge request espressif/esp-idf!19051
This commit is contained in:
morris 2022-07-14 20:35:05 +08:00
commit f69e6b3714

View File

@ -365,7 +365,7 @@ static esp_err_t rgb_panel_set_gap(esp_lcd_panel_t *panel, int x_gap, int y_gap)
{ {
esp_rgb_panel_t *rgb_panel = __containerof(panel, esp_rgb_panel_t, base); esp_rgb_panel_t *rgb_panel = __containerof(panel, esp_rgb_panel_t, base);
rgb_panel->x_gap = x_gap; rgb_panel->x_gap = x_gap;
rgb_panel->x_gap = y_gap; rgb_panel->y_gap = y_gap;
return ESP_OK; return ESP_OK;
} }