forked from espressif/esp-idf
spi: Fix wrong target register for interrupt disable
This commit is contained in:
committed by
bot
parent
9d4af47fa7
commit
de1a4f0c0d
@@ -138,7 +138,7 @@ static inline void spi_ll_slave_init(spi_dev_t *hw)
|
|||||||
hw->dma_conf.dma_seg_trans_en = 0;
|
hw->dma_conf.dma_seg_trans_en = 0;
|
||||||
|
|
||||||
//Disable unneeded ints
|
//Disable unneeded ints
|
||||||
hw->slave.val &= ~SPI_LL_UNUSED_INT_MASK;
|
hw->dma_int_ena.val &= ~SPI_LL_UNUSED_INT_MASK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -138,7 +138,7 @@ static inline void spi_ll_slave_init(spi_dev_t *hw)
|
|||||||
hw->dma_conf.dma_seg_trans_en = 0;
|
hw->dma_conf.dma_seg_trans_en = 0;
|
||||||
|
|
||||||
//Disable unneeded ints
|
//Disable unneeded ints
|
||||||
hw->slave.val &= ~SPI_LL_UNUSED_INT_MASK;
|
hw->dma_int_ena.val &= ~SPI_LL_UNUSED_INT_MASK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user