Skip to content

Commit 91d4c89

Browse files
committed
[LL][SPI] Set bit TCRCINI instead of RCRCINI in LL_SPI_SetTxCRCInitPattern()
1 parent 6026721 commit 91d4c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_spi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ __STATIC_INLINE uint32_t LL_SPI_IsEnabledIOLock(SPI_TypeDef *SPIx)
873873
*/
874874
__STATIC_INLINE void LL_SPI_SetTxCRCInitPattern(SPI_TypeDef *SPIx, uint32_t TXCRCInitAll)
875875
{
876-
MODIFY_REG(SPIx->CR1, SPI_CR1_RCRCINI, TXCRCInitAll);
876+
MODIFY_REG(SPIx->CR1, SPI_CR1_TCRCINI, TXCRCInitAll);
877877
}
878878

879879
/**

0 commit comments

Comments
 (0)