aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-09-02 19:23:22 -0400
committerbnewbold <bnewbold@robocracy.org>2010-09-02 19:23:22 -0400
commit6783e66eb168034880a9ef4847e901a6d4c911d8 (patch)
tree01aee2cd737051814c47b5dfa3a6990d4c927996 /libmaple
parent800b8ca1c1463dd85101e242a94c7ca0ec8c459d (diff)
downloadlibrambutan-6783e66eb168034880a9ef4847e901a6d4c911d8.tar.gz
librambutan-6783e66eb168034880a9ef4847e901a6d4c911d8.zip
added 'unused' attribs and reset default target
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/libmaple.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h
index 3a4042a..db05c96 100644
--- a/libmaple/libmaple.h
+++ b/libmaple/libmaple.h
@@ -37,7 +37,8 @@
#define MAPLE_DEBUG 1
// MCU-specific configuration
-#ifdef MCU_STM32F103RB // eg, LeafLabs Maple
+#ifdef MCU_STM32F103RB
+ // eg, LeafLabs Maple
// Number of GPIO ports (GPIOA, GPIOB, etc), definately used
#define NR_GPIO_PORTS 4
@@ -130,8 +131,8 @@
// Make sure MCU-specific settings were defined
#ifndef NR_GPIO_PORTS
-#error Error: No MCU type specified. Add something like -DMCU_STM32F103RB \
- to your compiler arguments (probably in a Makefile).
+#error "No MCU type specified. Add something like -DMCU_STM32F103RB " \
+ "to your compiler arguments (probably in a Makefile)."
#endif
// Requires board configuration info