From 6783e66eb168034880a9ef4847e901a6d4c911d8 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 2 Sep 2010 19:23:22 -0400 Subject: added 'unused' attribs and reset default target --- libmaple/libmaple.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libmaple') 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 -- cgit v1.2.3