summaryrefslogtreecommitdiffstats
path: root/avr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'avr.cpp')
-rw-r--r--avr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/avr.cpp b/avr.cpp
index bd3e22c..fca50fb 100644
--- a/avr.cpp
+++ b/avr.cpp
@@ -2,6 +2,8 @@
#include "adc.h"
#include "util.h"
+#include <stdint.h>
+
int getButton() {
uint16_t val = getADCValue(7);