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 @@ | |||
23 | #include <stdio.h> | 23 | #include <stdio.h> |
24 | #include "lcd.h" | 24 | #include "lcd.h" |
25 | #include "font.h" | 25 | #include "font.h" |
26 | #include "gcc_extensions.h" | ||
26 | 27 | ||
27 | static const char* const uiename[] = { | 28 | static const char* const uiename[] = { |
28 | "Undefined instruction", | 29 | "Undefined instruction", |
@@ -34,7 +35,7 @@ static const char* const uiename[] = { | |||
34 | /* Unexpected Interrupt or Exception handler. Currently only deals with | 35 | /* Unexpected Interrupt or Exception handler. Currently only deals with |
35 | exceptions, but will deal with interrupts later. | 36 | exceptions, but will deal with interrupts later. |
36 | */ | 37 | */ |
37 | void __attribute__((noreturn)) UIE(unsigned int pc, unsigned int num) | 38 | void NORETURN_ATTR UIE(unsigned int pc, unsigned int num) |
38 | { | 39 | { |
39 | #if LCD_DEPTH > 1 | 40 | #if LCD_DEPTH > 1 |
40 | lcd_set_backdrop(NULL); | 41 | lcd_set_backdrop(NULL); |