X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm32f1%2Fao_interrupt.c;h=2259aefc2619a6d4a84195047c0dcf06383f7ce4;hb=6d3b9ca44ffe43bd6285c37af4ee1d6174be8fcd;hp=831a2c2a1759c93e96d0c14296402541844ede68;hpb=d2cb18542f4f6071232bd046fd1b257228c17a25;p=fw%2Faltos diff --git a/src/stm32f1/ao_interrupt.c b/src/stm32f1/ao_interrupt.c index 831a2c2a..2259aefc 100644 --- a/src/stm32f1/ao_interrupt.c +++ b/src/stm32f1/ao_interrupt.c @@ -27,7 +27,7 @@ extern void main(void); void stm_halt_isr(void) { -// ao_panic(AO_PANIC_CRASH); + ao_panic(AO_PANIC_CRASH); } void stm_ignore_isr(void) @@ -212,5 +212,5 @@ void __attribute__((constructor)) ao_setup(void) { } #endif /* Set interrupt vector table offset */ - stm_nvic.vto = (uint32_t) &__interrupt_vector; + stm_scb.vtor = (uint32_t) &__interrupt_vector; }