diff --git a/components/hal/esp32c3/include/hal/spi_ll.h b/components/hal/esp32c3/include/hal/spi_ll.h index 013238142b..6719905e09 100644 --- a/components/hal/esp32c3/include/hal/spi_ll.h +++ b/components/hal/esp32c3/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; } /** diff --git a/components/hal/esp32s3/include/hal/spi_ll.h b/components/hal/esp32s3/include/hal/spi_ll.h index 27693ca12d..2b5ba4ea5f 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; } /**