aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/comm/HardwareSPI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/comm/HardwareSPI.cpp')
-rw-r--r--wirish/comm/HardwareSPI.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/wirish/comm/HardwareSPI.cpp b/wirish/comm/HardwareSPI.cpp
index 20090f5..aea7734 100644
--- a/wirish/comm/HardwareSPI.cpp
+++ b/wirish/comm/HardwareSPI.cpp
@@ -47,8 +47,10 @@
* TODO: Do the complementary PWM outputs mess up SPI2?
* */
-#include "wirish.h"
#include "spi.h"
+#include "timer.h"
+
+#include "wirish.h"
#include "HardwareSPI.h"
static const uint32 prescaleFactors[MAX_SPI_FREQS] = {