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 7201c1f commit 7cb8951Copy full SHA for 7cb8951
drivers/spi/spi_esp32_spim.c
@@ -163,7 +163,7 @@ static int IRAM_ATTR spi_esp32_transfer(const struct device *dev)
163
164
/* clean up and prepare SPI hal */
165
for (size_t i = 0; i < ARRAY_SIZE(hal->hw->data_buf); ++i) {
166
-#ifdef CONFIG_SOC_SERIES_ESP32C6
+#if defined(CONFIG_SOC_SERIES_ESP32C6) || defined(CONFIG_SOC_SERIES_ESP32H2)
167
hal->hw->data_buf[i].val = 0;
168
#else
169
hal->hw->data_buf[i] = 0;
0 commit comments