Merge branch 'bugfix/spi_ll_intr_bits' into 'master'

spi: Fix wrong target register for interrupt disable

See merge request espressif/esp-idf!13646
This commit is contained in:
Michael (XIAO Xufeng) 2021-06-03 10:22:25 +00:00
commit b5d2e9478b
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}
/**

View File

@ -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;
}
/**