summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arduino-nano/driver/counter.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/driver/counter.cc b/src/arch/arduino-nano/driver/counter.cc
index 4e62983..894a882 100644
--- a/src/arch/arduino-nano/driver/counter.cc
+++ b/src/arch/arduino-nano/driver/counter.cc
@@ -1,5 +1,9 @@
#include "driver/counter.h"
+#if defined(TIMER_S) || defined(WITH_LOOP)
+#warn "timer/loop and counter are mutually exclusive. Expect odd behaviour."
+#endif
+
Counter counter;
ISR(TIMER1_OVF_vect)