summaryrefslogtreecommitdiff
path: root/src/stm/ao_interrupt.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-02-21 19:26:41 -0800
committerKeith Packard <keithp@keithp.com>2019-02-21 19:40:08 -0800
commit3310b22e28d953a6569cd50e83f91c25577424a5 (patch)
treee9e25251aa002114512048da1bf44013a300a738 /src/stm/ao_interrupt.c
parenteaf2ee0f498b519d64e1664a2b8c66c52ac1497c (diff)
altos: Fix ISR declarations to make them non-weak
In my zeal to eliminate warnings, I added declarations of all ISR functions to a shared header file. However, I managed to include the 'weak' declaration, which meant that the intended ISR functions were as weak as the 'default' ISR functions. This left all interrupts non-functional, which doesn't make for a happy program. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_interrupt.c')
-rw-r--r--src/stm/ao_interrupt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/ao_interrupt.c b/src/stm/ao_interrupt.c
index a98d799a..d8be3667 100644
--- a/src/stm/ao_interrupt.c
+++ b/src/stm/ao_interrupt.c
@@ -29,12 +29,12 @@ extern char __bss_start__, __bss_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)
{
}