diff options
author | Sergey V. DUDANOV <sergey.dudanov@gmail.com> | 2016-07-08 15:32:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 15:32:14 +0300 |
commit | 6892a1b0120531af683b24d49661e86ecb2232ac (patch) | |
tree | e4b99d4a6782c6f9b159a02f4e553351f1c72584 | |
parent | 659af0193744dd73cc0acb909979e615f4851d8e (diff) |
Update clunet_config.h
-rw-r--r-- | demo_project/clunet_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo_project/clunet_config.h b/demo_project/clunet_config.h index 7704c35..ed5ba86 100644 --- a/demo_project/clunet_config.h +++ b/demo_project/clunet_config.h @@ -47,7 +47,7 @@ #define CLUNET_TIMER_REG_OCR OCR2 /* How to enable and disable timer interrupts */ -#define CLUNET_ENABLE_TIMER_COMP {set_bit(TIMSK, OCIE2);set_bit(TIFR, OCF2);} +#define CLUNET_ENABLE_TIMER_COMP {set_bit(TIFR, OCF2);set_bit(TIMSK, OCIE2);} #define CLUNET_DISABLE_TIMER_COMP unset_bit(TIMSK, OCIE2) /* How to init and enable external interrupt (read pin) */ |