From a445baa705e5032dfa9aea432eac70aaefae3162 Mon Sep 17 00:00:00 2001 From: bkleiner Date: Thu, 23 Dec 2021 17:57:50 +0100 Subject: [PATCH] stm32 LL library: fix pre-compiler warning --- .../STM32H7/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_spi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/main/STM32H7/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_spi.c b/lib/main/STM32H7/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_spi.c index 44a95c125..05a6e5e99 100644 --- a/lib/main/STM32H7/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_spi.c +++ b/lib/main/STM32H7/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_spi.c @@ -28,8 +28,10 @@ #ifdef USE_FULL_ASSERT #include "stm32_assert.h" #else +#ifndef assert_param #define assert_param(expr) ((void)0U) #endif +#endif /** @addtogroup STM32H7xx_LL_Driver * @{