mark hardfault handler as not returning
This commit is contained in:
parent
55b0f157c7
commit
93e1b89c19
1 changed files with 1 additions and 1 deletions
|
|
@ -572,7 +572,7 @@ void port_idle_until_interrupt(void) {
|
|||
/**
|
||||
* \brief Default interrupt handler for unused IRQs.
|
||||
*/
|
||||
extern void isr_hardfault(void); // provide a prototype to avoid a missing-prototypes diagnostic
|
||||
extern NORETURN void isr_hardfault(void); // provide a prototype to avoid a missing-prototypes diagnostic
|
||||
__attribute__((used)) void __not_in_flash_func(isr_hardfault)(void) {
|
||||
// Only safe mode from core 0 which is running CircuitPython. Core 1 faulting
|
||||
// should not be fatal to CP. (Fingers crossed.)
|
||||
|
|
|
|||
Loading…
Reference in a new issue