automatically select DMA channel
This commit is contained in:
parent
ab61a653db
commit
2da44d8c2e
|
@ -101,7 +101,7 @@ void lvgl_driver_init(void)
|
||||||
|
|
||||||
lvgl_spi_driver_init(TFT_SPI_HOST,
|
lvgl_spi_driver_init(TFT_SPI_HOST,
|
||||||
DISP_SPI_MISO, DISP_SPI_MOSI, DISP_SPI_CLK,
|
DISP_SPI_MISO, DISP_SPI_MOSI, DISP_SPI_CLK,
|
||||||
SPI_BUS_MAX_TRANSFER_SZ, 1,
|
SPI_BUS_MAX_TRANSFER_SZ, SPI_DMA_CH_AUTO,
|
||||||
DISP_SPI_IO2, DISP_SPI_IO3);
|
DISP_SPI_IO2, DISP_SPI_IO3);
|
||||||
|
|
||||||
disp_spi_add_device(TFT_SPI_HOST);
|
disp_spi_add_device(TFT_SPI_HOST);
|
||||||
|
|
Loading…
Reference in a new issue