X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=modules%2Fhardware%2Ftimer%2Ftimer0_register_OC_at_tics.c;h=c36460bed9abd6267cc724f4a0e55a0bfc359f72;hp=4387e154c6c729153897f9aee0cfe39cd9fc900d;hb=2b3d3d6c2c476752a438967b00ecf26f2b70c895;hpb=ccc6954bb046671b9e28c5806db5121c1eef49c0 diff --git a/modules/hardware/timer/timer0_register_OC_at_tics.c b/modules/hardware/timer/timer0_register_OC_at_tics.c index 4387e15..c36460b 100644 --- a/modules/hardware/timer/timer0_register_OC_at_tics.c +++ b/modules/hardware/timer/timer0_register_OC_at_tics.c @@ -30,15 +30,15 @@ #include -#if defined TIMER0_ENABLED && defined SIG_OUTPUT_COMPARE0 -DEFINE_REGISTER_OC_INTR_AT_TICS(0) +#if defined TIMER0_ENABLED && defined TIMER0_COMP_vect +DEFINE_REGISTER_OC_INTR_AT_TICS(0, TIMER0_COMP_vect) #endif -#if defined TIMER0A_ENABLED && defined SIG_OUTPUT_COMPARE0A -DEFINE_REGISTER_OC_INTR_AT_TICS(0A) +#if defined TIMER0A_ENABLED && defined TIMER0_COMPA_vect +DEFINE_REGISTER_OC_INTR_AT_TICS(0A, TIMER0_COMPA_vect) #endif -#if defined TIMER0B_ENABLED && defined SIG_OUTPUT_COMPARE0B -DEFINE_REGISTER_OC_INTR_AT_TICS(0B) +#if defined TIMER0B_ENABLED && defined TIMER0_COMPB_vect +DEFINE_REGISTER_OC_INTR_AT_TICS(0B, TIMER0_COMPB_vect) #endif