From ea5538b23ac066187635b1e34e620b445562d21e Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 1 Sep 2011 09:38:39 -0400 Subject: wirish/boards: Move includes into .cpp files. The headers just #define some numbers, so there's no need for them to be including libmaple headers. --- wirish/boards/maple_mini.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'wirish/boards/maple_mini.cpp') diff --git a/wirish/boards/maple_mini.cpp b/wirish/boards/maple_mini.cpp index 6a3a86b..f111a14 100644 --- a/wirish/boards/maple_mini.cpp +++ b/wirish/boards/maple_mini.cpp @@ -27,14 +27,17 @@ /** * @file maple_mini.cpp * @author Marti Bolivar - * @brief Maple Mini PIN_MAP and boardInit(). + * @brief Maple Mini board file. */ +#ifdef BOARD_maple_mini + #include "maple_mini.h" + #include "gpio.h" +#include "timer.h" #include "wirish_debug.h" - -#ifdef BOARD_maple_mini +#include "wirish_types.h" /* Since we want the Serial Wire/JTAG pins as GPIOs, disable both SW * and JTAG debug support */ -- cgit v1.2.3