From 3310b22e28d953a6569cd50e83f91c25577424a5 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 21 Feb 2019 19:26:41 -0800 Subject: 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 --- src/lpc/ao_interrupt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lpc/ao_interrupt.c') diff --git a/src/lpc/ao_interrupt.c b/src/lpc/ao_interrupt.c index 77be7fab..8d71f43f 100644 --- a/src/lpc/ao_interrupt.c +++ b/src/lpc/ao_interrupt.c @@ -40,12 +40,12 @@ extern char __interrupt_rom__, __interrupt_start__, __interrupt_end__; /* Interrupt functions */ -static void lpc_halt_isr(void) +void lpc_halt_isr(void) { ao_panic(AO_PANIC_CRASH); } -static void lpc_ignore_isr(void) +void lpc_ignore_isr(void) { } -- cgit v1.2.3