diff options
Diffstat (limited to 'core/cortex-m/panic.c')
-rw-r--r-- | core/cortex-m/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m/panic.c b/core/cortex-m/panic.c index bc049bd698..7daedbf7ab 100644 --- a/core/cortex-m/panic.c +++ b/core/cortex-m/panic.c @@ -8,6 +8,7 @@ #include "cpu.h" #include "host_command.h" #include "panic.h" +#include "panic-internal.h" #include "printf.h" #include "system.h" #include "task.h" @@ -355,7 +356,6 @@ void __keep report_panic(void) * * Declare this as a naked call so we can extract raw LR and IPSR values. */ -void __keep exception_panic(void) __attribute__((naked)); void exception_panic(void) { /* Save registers and branch directly to panic handler */ |