aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/nvic.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/nvic.c')
-rw-r--r--libmaple/nvic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/nvic.c b/libmaple/nvic.c
index 6603d42..7e1a9b7 100644
--- a/libmaple/nvic.c
+++ b/libmaple/nvic.c
@@ -42,7 +42,7 @@ void nvic_disable_interrupts(void) {
}
-void nvic_set_vector_table(uint32 *addr, uint32 offset) {
+void nvic_set_vector_table(uint32 addr, uint32 offset) {
__write(SCB_VTOR, (uint32)addr | (offset & 0x1FFFFF80));
}