We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cbbc29 commit 8d1fbcfCopy full SHA for 8d1fbcf
lvgl_helpers.c
@@ -176,7 +176,7 @@ bool lvgl_spi_driver_init(int host,
176
177
ESP_LOGI(TAG, "Initializing SPI bus...");
178
#if defined (CONFIG_IDF_TARGET_ESP32C3)
179
- dma_channel = 3;
+ dma_channel = SPI_DMA_CH_AUTO;
180
#endif
181
esp_err_t ret = spi_bus_initialize(host, &buscfg, (spi_dma_chan_t)dma_channel);
182
assert(ret == ESP_OK);
0 commit comments