fix compilation with new avr-gcc and avr-libc
[aversive.git] / modules / hardware / timer / timer4_register_OV.c
index 7fcb74e..d2d86bc 100644 (file)
@@ -30,7 +30,7 @@
 #include <timer_config.h>
 
 
-#if defined TIMER4_ENABLED && defined SIG_OVERFLOW4
-DEFINE_REGISTER_OV_INTR(4)
+#if defined TIMER4_ENABLED && defined TIMER4_OVF_vect
+DEFINE_REGISTER_OV_INTR(4, TIMER4_OVF_vect)
 #endif