diff options
author | Oxore <oxore@protonmail.com> | 2023-03-05 21:51:51 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-03-05 21:51:51 +0300 |
commit | 2f4ef73dbafd14095fcb92cf5afeb598e453084c (patch) | |
tree | afa5011dedafcf52575a0457fef5ddc006d9f01e /app/stm32f0xx_conf.h | |
parent | 1e78222d516089462a7c3d1de23604e81851eec2 (diff) |
Fix warnings, part2
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 */ |