commit | fccac44e1859e1ad1a38353b46c9ed7587bdb4be | [log] [tgz] |
---|---|---|
author | Eya <aya.selmi1@st.com> | Mon Jun 07 16:52:38 2021 +0100 |
committer | Eya <aya.selmi1@st.com> | Mon Jun 07 16:52:38 2021 +0100 |
tree | 7cfe79531a8262399868032d151e21887aad7957 | |
parent | e5e8fbae450a416d3fadc5fc3c8da64e5974267c [diff] [blame] |
Release v1.1.8
diff --git a/Inc/stm32f1xx_ll_spi.h b/Inc/stm32f1xx_ll_spi.h index bf0e764..5b654d5 100644 --- a/Inc/stm32f1xx_ll_spi.h +++ b/Inc/stm32f1xx_ll_spi.h
@@ -1030,7 +1030,7 @@ */ __STATIC_INLINE uint8_t LL_SPI_ReceiveData8(SPI_TypeDef *SPIx) { - return (uint8_t)(READ_REG(SPIx->DR)); + return (*((__IO uint8_t *)&SPIx->DR)); } /**