From 2f4ef73dbafd14095fcb92cf5afeb598e453084c Mon Sep 17 00:00:00 2001 From: Oxore Date: Sun, 5 Mar 2023 21:51:51 +0300 Subject: Fix warnings, part2 --- app/stm32f0xx_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/stm32f0xx_conf.h') 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 */ -- cgit v1.2.3