X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstmf0%2Fao_interrupt.c;h=0025de47153445bbf6d5df961c54726dab0d4c23;hp=ab835bac6a2ef7377044c7f2472a310b0d00df31;hb=3310b22e28d953a6569cd50e83f91c25577424a5;hpb=eaf2ee0f498b519d64e1664a2b8c66c52ac1497c diff --git a/src/stmf0/ao_interrupt.c b/src/stmf0/ao_interrupt.c index ab835bac..0025de47 100644 --- a/src/stmf0/ao_interrupt.c +++ b/src/stmf0/ao_interrupt.c @@ -43,12 +43,12 @@ extern char __interrupt_rom__, __interrupt_start__, __interrupt_end__; /* Interrupt functions */ -static void stm_halt_isr(void) +void stm_halt_isr(void) { ao_panic(AO_PANIC_CRASH); } -static void stm_ignore_isr(void) +void stm_ignore_isr(void) { } @@ -145,6 +145,9 @@ isr(usart3_4_5_6_7_8) isr(cec_can) isr(usb) +#undef isr +#undef isr_halt + #define i(addr,name) [(addr)/4] = stm_ ## name ## _isr __attribute__ ((section(".interrupt")))