Unverified Commit 579961bd authored by Bodmer's avatar Bodmer Committed by GitHub

Fix #630

parent cd98515f
...@@ -686,10 +686,10 @@ bool TFT_eSPI::initDMA(void) ...@@ -686,10 +686,10 @@ bool TFT_eSPI::initDMA(void)
.cs_ena_posttrans = 0, .cs_ena_posttrans = 0,
.clock_speed_hz = SPI_FREQUENCY, .clock_speed_hz = SPI_FREQUENCY,
.input_delay_ns = 0, .input_delay_ns = 0,
.spics_io_num = TFT_CS, .spics_io_num = -1, //TFT_CS,
.flags = 0, .flags = SPI_DEVICE_NO_DUMMY, //0,
.queue_size = 7, .queue_size = 1,
.pre_cb = dc_callback, //Callback to handle D/C line .pre_cb = 0, //dc_callback, //Callback to handle D/C line
.post_cb = 0 .post_cb = 0
}; };
ret = spi_bus_initialize(spi_host, &buscfg, 1); ret = spi_bus_initialize(spi_host, &buscfg, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment