aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-04-20 16:57:44 -0400
committerbnewbold <bnewbold@robocracy.org>2010-04-20 16:57:44 -0400
commitb21f5b6f55566a6258092b9c8e658f898188ab12 (patch)
tree049fd5af9f3723abfecdc3dbbfbad70b6970c5b5 /core
parent7d2e9958ef4b42faf5f02671edc534686e853fa8 (diff)
downloadlibrambutan-b21f5b6f55566a6258092b9c8e658f898188ab12.tar.gz
librambutan-b21f5b6f55566a6258092b9c8e658f898188ab12.zip
removed annoying warnings from core/wiring.c and fixed two compile errors on with the example main.cpp
Diffstat (limited to 'core')
-rw-r--r--core/wiring.c2
1 files changed, 0 insertions, 2 deletions
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);