fix: Bump GC9A01 SPI clock to 80MHz to match Waveshare reference

Waveshare demo code uses 80MHz SPI. Our driver was at 40MHz.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sebastien Vayrette 2026-04-20 13:41:54 -04:00
parent 23b3b9970f
commit bdc69c87d8

View File

@ -172,7 +172,7 @@ void gc9a01_init(void)
ESP_ERROR_CHECK(spi_bus_initialize(SPI2_HOST, &bus, SPI_DMA_CH_AUTO)); ESP_ERROR_CHECK(spi_bus_initialize(SPI2_HOST, &bus, SPI_DMA_CH_AUTO));
spi_device_interface_config_t dev = { spi_device_interface_config_t dev = {
.clock_speed_hz = 40 * 1000 * 1000, .clock_speed_hz = 80 * 1000 * 1000,
.mode = 0, .mode = 0,
.spics_io_num = DISP_CS_GPIO, .spics_io_num = DISP_CS_GPIO,
.queue_size = 1, .queue_size = 1,