aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards/maple.cpp
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-01 09:38:39 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-01 09:38:39 -0400
commitea5538b23ac066187635b1e34e620b445562d21e (patch)
treeaaa7c4f52ac3de99973f553d6fa82cb9d58ba87a /wirish/boards/maple.cpp
parent5338a153bfcd46e71f7b5d13c30f4ca482d5ee87 (diff)
downloadlibrambutan-ea5538b23ac066187635b1e34e620b445562d21e.tar.gz
librambutan-ea5538b23ac066187635b1e34e620b445562d21e.zip
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.
Diffstat (limited to 'wirish/boards/maple.cpp')
-rw-r--r--wirish/boards/maple.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/wirish/boards/maple.cpp b/wirish/boards/maple.cpp
index c82a113..43d4386 100644
--- a/wirish/boards/maple.cpp
+++ b/wirish/boards/maple.cpp
@@ -30,12 +30,13 @@
* @brief Maple PIN_MAP and boardInit().
*/
-#include "gpio.h"
-#include "timer.h"
+#ifdef BOARD_maple
#include "maple.h"
-#ifdef BOARD_maple
+#include "gpio.h"
+#include "timer.h"
+#include "wirish_types.h"
void boardInit(void) {
}