fix compilation with new avr-gcc and avr-libc
[aversive.git] / modules / hardware / timer / timer0_register_OV.c
index 4d24614..7e297de 100644 (file)
@@ -30,7 +30,7 @@
 #include <timer_config.h>
 
 
-#if defined TIMER0_ENABLED && defined SIG_OVERFLOW0
-DEFINE_REGISTER_OV_INTR(0)
+#if defined TIMER0_ENABLED && defined TIMER0_OVF_vect
+DEFINE_REGISTER_OV_INTR(0, TIMER0_OVF_vect)
 #endif