Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/clunet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey V. DUDANOV <sergey.dudanov@gmail.com>2016-07-08 15:32:14 +0300
committerGitHub <noreply@github.com>2016-07-08 15:32:14 +0300
commit6892a1b0120531af683b24d49661e86ecb2232ac (patch)
treee4b99d4a6782c6f9b159a02f4e553351f1c72584
parent659af0193744dd73cc0acb909979e615f4851d8e (diff)
Update clunet_config.h
-rw-r--r--demo_project/clunet_config.h2
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) */