diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-12-04 07:35:23 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-12-04 07:35:23 +0100 |
commit | 2d49d59ba1335ed28cfdd7fc586be4e1637ebe9c (patch) | |
tree | f1c54acefd9e0fd43e9e50203e58678ec95b1ac6 /src/arch | |
parent | 51c4aca4432963af11db0d85b9ddb4ff2d50fc60 (diff) |
arduino-nano: change timer to new API
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arduino-nano/driver/counter.cc | 4 |
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) |