commit | ffc9cdf455630c6eca40b0536bb914e047955a20 | [log] [tgz] |
---|---|---|
author | Rania JMAI <rania.jmai@st.com> | Thu Sep 21 15:05:55 2023 +0100 |
committer | Rania JMAI <rania.jmai@st.com> | Thu Sep 21 15:07:54 2023 +0100 |
tree | a604ce6374140d2113bee14395e51a08bf6e56d8 | |
parent | 6e22b5b695fa0161d20b473bd69696ed54d0f448 [diff] |
[LL][SPI] Update the register field modified by LL_SPI_SetTxCRCInitPattern()
diff --git a/Inc/stm32h7xx_ll_spi.h b/Inc/stm32h7xx_ll_spi.h index cb623a0..e8bdc1f 100644 --- a/Inc/stm32h7xx_ll_spi.h +++ b/Inc/stm32h7xx_ll_spi.h
@@ -873,7 +873,7 @@ */ __STATIC_INLINE void LL_SPI_SetTxCRCInitPattern(SPI_TypeDef *SPIx, uint32_t TXCRCInitAll) { - MODIFY_REG(SPIx->CR1, SPI_CR1_RCRCINI, TXCRCInitAll); + MODIFY_REG(SPIx->CR1, SPI_CR1_TCRCINI, TXCRCInitAll); } /**