File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Boards/cyd-jc3248w535c/Source Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 77
88using namespace tt ::hal;
99
10- #define SPI_TRANSFER_SIZE_LIMIT ((320 ) * 16 / 2 )
10+ #define SPI_TRANSFER_SIZE_LIMIT ((320 ) * 16 / 8 )
1111
1212static DeviceVector createDevices () {
1313 return {
Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ lvgl_port_display_cfg_t Axs15231bDisplay::getLvglPortDisplayConfig(esp_lcd_panel
136136 .panel_handle = panelHandle,
137137 .control_handle = nullptr ,
138138 .buffer_size = configuration->bufferSize ,
139- .double_buffer = false ,
140- .trans_size = ((configuration-> horizontalResolution ) * 16 / 2 ) ,
139+ .double_buffer = true ,
140+ .trans_size = 0 ,
141141 .hres = configuration->horizontalResolution ,
142142 .vres = configuration->verticalResolution ,
143143 .monochrome = false ,
@@ -148,7 +148,7 @@ lvgl_port_display_cfg_t Axs15231bDisplay::getLvglPortDisplayConfig(esp_lcd_panel
148148 },
149149 .color_format = LV_COLOR_FORMAT_RGB565,
150150 .flags = {
151- .buff_dma = false ,
151+ .buff_dma = true ,
152152 .buff_spiram = true ,
153153 .sw_rotate = true ,
154154 .swap_bytes = true ,
You can’t perform that action at this time.
0 commit comments