aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/wirish_analog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/wirish_analog.cpp')
-rw-r--r--wirish/wirish_analog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/wirish/wirish_analog.cpp b/wirish/wirish_analog.cpp
index 63b5eb2..e5b9ffc 100644
--- a/wirish/wirish_analog.cpp
+++ b/wirish/wirish_analog.cpp
@@ -28,10 +28,12 @@
* @brief Arduino-compatible ADC implementation.
*/
-#include "libmaple.h"
-#include "wirish.h"
#include "io.h"
+#include "adc.h"
+
+#include "boards.h"
+
/* Assumes that the ADC has been initialized and that the pin is set
* to INPUT_ANALOG */
uint16 analogRead(uint8 pin) {