From b21f5b6f55566a6258092b9c8e658f898188ab12 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 20 Apr 2010 16:57:44 -0400 Subject: removed annoying warnings from core/wiring.c and fixed two compile errors on with the example main.cpp --- core/wiring.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'core') diff --git a/core/wiring.c b/core/wiring.c index 0548e6a..803b571 100644 --- a/core/wiring.c +++ b/core/wiring.c @@ -50,10 +50,8 @@ void init(void) { void nvic_init(void) { #ifdef VECT_TAB_ROM nvic_set_vector_table(USER_ADDR_ROM, 0x0); -#warning writing to ROM #elif defined VECT_TAB_RAM nvic_set_vector_table(USER_ADDR_RAM, 0x0); -#warning writing to RAM #else // VECT_TAB_BASE /* Set the Vector Table base location at 0x08000000 */ nvic_set_vector_table(((uint32)0x08000000), 0x0); -- cgit v1.2.3