diff options
Diffstat (limited to 'demo_project/clunet_config.h')
-rw-r--r-- | demo_project/clunet_config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demo_project/clunet_config.h b/demo_project/clunet_config.h index f366b06..1dbb107 100644 --- a/demo_project/clunet_config.h +++ b/demo_project/clunet_config.h @@ -49,15 +49,15 @@ /* How to enable and disable timer interrupts */ #define CLUNET_ENABLE_TIMER_COMP set_bit(TIMSK, OCIE2) #define CLUNET_DISABLE_TIMER_COMP unset_bit(TIMSK, OCIE2) -#define CLUNET_ENABLE_TIMER_OVF set_bit(TIMSK, TOIE2) -#define CLUNET_DISABLE_TIMER_OVF unset_bit(TIMSK, TOIE2) +//#define CLUNET_ENABLE_TIMER_OVF set_bit(TIMSK, TOIE2) +//#define CLUNET_DISABLE_TIMER_OVF unset_bit(TIMSK, TOIE2) /* How to init and enable external interrupt (read pin) */ #define CLUNET_INIT_INT {set_bit(MCUCR,ISC00);unset_bit(MCUCR,ISC01); set_bit(GICR, INT0);} /* Interrupt vectors */ #define CLUNET_TIMER_COMP_VECTOR TIMER2_COMP_vect -#define CLUNET_TIMER_OVF_VECTOR TIMER2_OVF_vect +//#define CLUNET_TIMER_OVF_VECTOR TIMER2_OVF_vect #define CLUNET_INT_VECTOR INT0_vect #endif |