summaryrefslogtreecommitdiff
path: root/include/arch/arduino-nano
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-21 08:25:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-21 08:25:35 +0100
commit9b07d50daa0ce241d2677eebe777bc15b57ec7b0 (patch)
tree4d39cf20ee4bf0cc8d832102b5716433e5e6d1b1 /include/arch/arduino-nano
parentc4e9b301ed9d3943a3d4b6ec2fa708528e35c7d3 (diff)
counter: add include guards
Diffstat (limited to 'include/arch/arduino-nano')
-rw-r--r--include/arch/arduino-nano/driver/counter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/arch/arduino-nano/driver/counter.h b/include/arch/arduino-nano/driver/counter.h
index c4fc447..c89fb44 100644
--- a/include/arch/arduino-nano/driver/counter.h
+++ b/include/arch/arduino-nano/driver/counter.h
@@ -1,3 +1,6 @@
+#ifndef COUNTER_H
+#define COUNTER_H
+
#include <avr/io.h>
#include <avr/interrupt.h>
@@ -29,3 +32,5 @@ class Counter {
};
extern Counter counter;
+
+#endif