From 8178fad4b4f65ecf36b2ffdefc4f87d8f121f806 Mon Sep 17 00:00:00 2001 From: Avamander Date: Sun, 25 May 2025 02:25:29 +0300 Subject: [PATCH] Annotate Error_Handler with noreturn to help analysis Signed-off-by: Avamander --- libraries/SrcWrapper/src/stm32/stm32_def.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy