Skip to content

Commit 679cd67

Browse files
support arduino-esp32 v3.1.0
1 parent f46e822 commit 679cd67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databus/Arduino_ESP32QSPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ bool Arduino_ESP32QSPI::begin(int32_t speed, int8_t dataMode)
5656
.data7_io_num = -1,
5757
.max_transfer_sz = (ESP32QSPI_MAX_PIXELS_AT_ONCE * 16) + 8,
5858
.flags = SPICOMMON_BUSFLAG_MASTER | SPICOMMON_BUSFLAG_GPIO_PINS,
59-
.isr_cpu_id = INTR_CPU_ID_AUTO,
59+
.isr_cpu_id = ESP_INTR_CPU_AFFINITY_AUTO,
6060
.intr_flags = 0};
6161
esp_err_t ret = spi_bus_initialize(ESP32QSPI_SPI_HOST, &buscfg, ESP32QSPI_DMA_CHANNEL);
6262
if (ret != ESP_OK)

0 commit comments

Comments
 (0)