From 25c7ba0ed78aea0a368bc178dd720a845dd515ac Mon Sep 17 00:00:00 2001 From: Perry Hung Date: Wed, 31 Mar 2010 21:29:29 -0400 Subject: Removed inttypes.h Removed inttypes.h from libmaple. Will have another pass through to use the standard libmaple types, but will come in another commit. --- libmaple/nvic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmaple/nvic.c') diff --git a/libmaple/nvic.c b/libmaple/nvic.c index 45c1902..e480daf 100644 --- a/libmaple/nvic.c +++ b/libmaple/nvic.c @@ -37,8 +37,8 @@ void nvic_disable_interrupts(void) { } -void nvic_set_vector_table(uint32_t *addr, uint32_t offset) { - __write(SCB_VTOR, (uint32_t)addr | (offset & 0x1FFFFF80)); +void nvic_set_vector_table(uint32 *addr, uint32 offset) { + __write(SCB_VTOR, (uint32)addr | (offset & 0x1FFFFF80)); } -- cgit v1.2.3