diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-01 09:38:39 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-01 09:38:39 -0400 |
commit | ea5538b23ac066187635b1e34e620b445562d21e (patch) | |
tree | aaa7c4f52ac3de99973f553d6fa82cb9d58ba87a /wirish/boards/maple.cpp | |
parent | 5338a153bfcd46e71f7b5d13c30f4ca482d5ee87 (diff) | |
download | librambutan-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.cpp | 7 |
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) { } |