summaryrefslogtreecommitdiff
path: root/include/arch/arduino-nano
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/arduino-nano')
-rw-r--r--include/arch/arduino-nano/driver/counter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/arch/arduino-nano/driver/counter.h b/include/arch/arduino-nano/driver/counter.h
index 9105219..43ddd15 100644
--- a/include/arch/arduino-nano/driver/counter.h
+++ b/include/arch/arduino-nano/driver/counter.h
@@ -1,6 +1,9 @@
#include <avr/io.h>
#include <avr/interrupt.h>
+typedef counter_value_t uint16_t;
+typedef counter_overflowed_t uint8_t;
+
class Counter {
private:
Counter(const Counter &copy);