aboutsummaryrefslogtreecommitdiffstats
path: root/src/wiring
diff options
context:
space:
mode:
Diffstat (limited to 'src/wiring')
-rw-r--r--src/wiring/wiring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wiring/wiring.c b/src/wiring/wiring.c
index bedce55..7fcd5fd 100644
--- a/src/wiring/wiring.c
+++ b/src/wiring/wiring.c
@@ -35,7 +35,7 @@ void init(void) {
void NVIC_Configuration(void) {
#ifdef VECT_TAB_ROM
NVIC_SetVectorTable(USER_ADDR_ROM, 0x0);
-#elifdef VECT_TAB_RAM
+#elif defined VECT_TAB_RAM
NVIC_SetVectorTable(USER_ADDR_RAM, 0x0);
#else // VECT_TAB_BASE
/* Set the Vector Table base location at 0x08000000 */