Fix uDisplay DSI compile with IDF 5.4 / 5.5 based Arduino frameworks (#24110)
This commit is contained in:
parent
c0f1be5994
commit
160ec1376f
@ -43,7 +43,6 @@ DSIPanel::DSIPanel(const DSIPanelConfig& config)
|
||||
esp_lcd_dsi_bus_config_t bus_config = {
|
||||
.bus_id = 0,
|
||||
.num_data_lanes = cfg.dsi_lanes,
|
||||
.phy_clk_src = MIPI_DSI_PHY_CLK_SRC_DEFAULT,
|
||||
.lane_bit_rate_mbps = cfg.lane_speed_mbps
|
||||
};
|
||||
ret = esp_lcd_new_dsi_bus(&bus_config, &dsi_bus);
|
||||
|
||||
@ -9,8 +9,6 @@
|
||||
#include <algorithm>
|
||||
#include <rom/cache.h>
|
||||
|
||||
extern int CACHE_WRITEBACK_ADDR(uint32_t addr, uint32_t size);
|
||||
|
||||
RGBPanel::RGBPanel(const esp_lcd_rgb_panel_config_t *config) {
|
||||
ESP_ERROR_CHECK(esp_lcd_new_rgb_panel(config, &panel_handle));
|
||||
ESP_ERROR_CHECK(esp_lcd_panel_reset(panel_handle));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user