diff options
Diffstat (limited to 'app/stm32f0xx_conf.h')
-rw-r--r-- | app/stm32f0xx_conf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/stm32f0xx_conf.h b/app/stm32f0xx_conf.h index adbf30b..fd7c629 100644 --- a/app/stm32f0xx_conf.h +++ b/app/stm32f0xx_conf.h @@ -76,7 +76,7 @@ /* Exported functions ------------------------------------------------------- */ void assert_failed(uint8_t* file, uint32_t line); #else - #define assert_param(expr) ((void)0) + #define assert_param(expr) ((void)(expr)) #endif /* USE_FULL_ASSERT */ #endif /* __STM32F0XX_CONF_H */ |