diff options
Diffstat (limited to 'firmware/target/arm/system-arm.c')
-rw-r--r-- | firmware/target/arm/system-arm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/system-arm.c b/firmware/target/arm/system-arm.c index 01d2ba6e67..8d07347514 100644 --- a/firmware/target/arm/system-arm.c +++ b/firmware/target/arm/system-arm.c @@ -23,6 +23,7 @@ #include <stdio.h> #include "lcd.h" #include "font.h" +#include "gcc_extensions.h" static const char* const uiename[] = { "Undefined instruction", @@ -34,7 +35,7 @@ static const char* const uiename[] = { /* Unexpected Interrupt or Exception handler. Currently only deals with exceptions, but will deal with interrupts later. */ -void __attribute__((noreturn)) UIE(unsigned int pc, unsigned int num) +void NORETURN_ATTR UIE(unsigned int pc, unsigned int num) { #if LCD_DEPTH > 1 lcd_set_backdrop(NULL); |