diff --git a/libraries/SrcWrapper/src/stm32/stm32_def.c b/libraries/SrcWrapper/src/stm32/stm32_def.c index 3c12041914..c53b5096dd 100644 --- a/libraries/SrcWrapper/src/stm32/stm32_def.c +++ b/libraries/SrcWrapper/src/stm32/stm32_def.c @@ -11,7 +11,7 @@ extern "C" { * @retval None */ #if !defined(NDEBUG) -WEAK void _Error_Handler(const char *msg, int val) +__attribute__((noreturn)) WEAK void _Error_Handler(const char *msg, int val) { /* User can add his own implementation to report the HAL error return state */ core_debug("Error: %s (%i)\n", msg, val);
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: