We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50d589d commit 9e0d259Copy full SHA for 9e0d259
libraries/SrcWrapper/src/stm32/stm32_def.c
@@ -11,7 +11,7 @@ extern "C" {
11
* @retval None
12
*/
13
#if !defined(NDEBUG)
14
-WEAK void _Error_Handler(const char *msg, int val)
+__attribute__((noreturn)) WEAK void _Error_Handler(const char *msg, int val)
15
{
16
/* User can add his own implementation to report the HAL error return state */
17
core_debug("Error: %s (%i)\n", msg, val);
0 commit comments