git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compilation with new avr-gcc and avr-libc
[aversive.git]
/
modules
/
hardware
/
timer
/
timer2_register_OC_at_tics.c
diff --git
a/modules/hardware/timer/timer2_register_OC_at_tics.c
b/modules/hardware/timer/timer2_register_OC_at_tics.c
index
84c5c2b
..
4e5bf4a
100644
(file)
--- a/
modules/hardware/timer/timer2_register_OC_at_tics.c
+++ b/
modules/hardware/timer/timer2_register_OC_at_tics.c
@@
-30,7
+30,7
@@
#include <timer_config.h>
-#if defined TIMER2_ENABLED && defined
SIG_OUTPUT_COMPARE2
-DEFINE_REGISTER_OC_INTR_AT_TICS(2)
+#if defined TIMER2_ENABLED && defined
TIMER2_COMP_vect_id
+DEFINE_REGISTER_OC_INTR_AT_TICS(2
, TIMER2_COMP_vect
)
#endif