projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/stm32f1: More stm32f103 work
[fw/altos]
/
src
/
stm32f1
/
ao_interrupt.c
diff --git
a/src/stm32f1/ao_interrupt.c
b/src/stm32f1/ao_interrupt.c
index 831a2c2a1759c93e96d0c14296402541844ede68..2259aefc2619a6d4a84195047c0dcf06383f7ce4 100644
(file)
--- 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)
{
void stm_halt_isr(void)
{
-
//
ao_panic(AO_PANIC_CRASH);
+
ao_panic(AO_PANIC_CRASH);
}
void stm_ignore_isr(void)
}
void stm_ignore_isr(void)
@@
-212,5
+212,5
@@
void __attribute__((constructor)) ao_setup(void) {
}
#endif
/* Set interrupt vector table offset */
}
#endif
/* Set interrupt vector table offset */
- stm_
nvic.vto
= (uint32_t) &__interrupt_vector;
+ stm_
scb.vtor
= (uint32_t) &__interrupt_vector;
}
}