summaryrefslogtreecommitdiff
path: root/src/stmf0/ao_interrupt.c
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2019-02-21 21:57:26 -0700
committerBdale Garbee <bdale@gag.com>2019-02-21 21:57:26 -0700
commit654a23168f59d04d7e9cad657bebf8ecfdd8e41e (patch)
treed225043ff53f9ac7759a6cd8e3cb759d1e6451a7 /src/stmf0/ao_interrupt.c
parentd0f6691804ee8de633601483354c93f1c2d75219 (diff)
parent655c5d2c1124182ba336db368474cf4de0b9ce9d (diff)
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'src/stmf0/ao_interrupt.c')
-rw-r--r--src/stmf0/ao_interrupt.c7
1 files changed, 5 insertions, 2 deletions
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")))