diff --git a/components/hal/esp32c3/include/hal/spi_ll.h b/components/hal/esp32c3/include/hal/spi_ll.h index 316f2e93a5..0f4b120d8d 100644 --- a/components/hal/esp32c3/include/hal/spi_ll.h +++ b/components/hal/esp32c3/include/hal/spi_ll.h @@ -139,7 +139,7 @@ static inline void spi_ll_slave_init(spi_dev_t *hw) hw->dma_conf.dma_seg_trans_en = 0; //Disable unneeded ints - hw->slave.val &= ~SPI_LL_UNUSED_INT_MASK; + hw->dma_int_ena.val &= ~SPI_LL_UNUSED_INT_MASK; } /** diff --git a/components/hal/esp32s3/include/hal/spi_ll.h b/components/hal/esp32s3/include/hal/spi_ll.h index 8c040e20ef..7bb16b9081 100644 --- a/components/hal/esp32s3/include/hal/spi_ll.h +++ b/components/hal/esp32s3/include/hal/spi_ll.h @@ -138,7 +138,7 @@ static inline void spi_ll_slave_init(spi_dev_t *hw) hw->dma_conf.dma_seg_trans_en = 0; //Disable unneeded ints - hw->slave.val &= ~SPI_LL_UNUSED_INT_MASK; + hw->dma_int_ena.val &= ~SPI_LL_UNUSED_INT_MASK; } /**