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.
2 parents 36c0759 + f5219a2 commit babbd84Copy full SHA for babbd84
micropy_updates/esp32/machine_hw_spi.c
@@ -563,7 +563,7 @@ void mp_machine_hw_spi_bus_initilize(mp_machine_hw_spi_bus_obj_t *bus)
563
564
esp_err_t ret;
565
566
-#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3
+#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6
567
ret = spi_bus_initialize((spi_host_device_t)bus->host, &buscfg, SPI_DMA_CH_AUTO);
568
#else
569
if (bus->host == SPI2_HOST) {
@@ -730,4 +730,4 @@ MP_DEFINE_CONST_OBJ_TYPE(
730
MP_QSTR_SPI,
731
MP_TYPE_FLAG_NONE,
732
locals_dict, &machine_spi_locals_dict
733
-);
+);
0 commit comments