Skip to content

Commit d6ecced

Browse files
committed
fix(u5): allow define redefinition
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 491ddc8 commit d6ecced

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

system/STM32U5xx/stm32u5xx_hal_conf_default.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,14 @@ vary depending on the variations in voltage and temperature.*/
252252
* Activated: CRC code is present inside driver
253253
* Deactivated: CRC code cleaned from driver
254254
*/
255+
#if !defined (USE_SPI_CRC)
255256
#define USE_SPI_CRC 1U
257+
#endif
256258

257259
/* ################## SDMMC peripheral configuration ######################### */
258-
260+
#if !defined (USE_SD_TRANSCEIVER)
259261
#define USE_SD_TRANSCEIVER 0U
260-
262+
#endif
261263

262264
/* Includes ------------------------------------------------------------------*/
263265
/**

0 commit comments

Comments
 (0)