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

github.com/ClusterM/intercom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2013-09-09 17:11:28 +0400
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2013-09-09 17:11:28 +0400
commitf79e8baa103ced7b57d1ce1bf9b705914f131a34 (patch)
tree5bbc5abd4a69cd776585f0b3570f429a416bbd2f /clunet_config.h
parentecad86fddd6ffc7de27fa6c69635448646a2a91d (diff)
New CLUNET, UTF-8 translation
Diffstat (limited to 'clunet_config.h')
-rw-r--r--clunet_config.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/clunet_config.h b/clunet_config.h
index 7369e95..925fb28 100644
--- a/clunet_config.h
+++ b/clunet_config.h
@@ -47,8 +47,7 @@
#define CLUNET_DISABLE_TIMER_OVF unset_bit(TIMSK, TOIE2)
// Инициализация внешнего прерывания и его включение
-#define CLUNET_INIT_INT {set_bit(EICRA,ISC10);unset_bit(EICRA,ISC11);}
-#define CLUNET_ENABLE_INT set_bit(EIMSK, INT1)
+#define CLUNET_INIT_INT {set_bit(EICRA,ISC10);unset_bit(EICRA,ISC11);set_bit(EIMSK, INT1);}
// Векторы прерываний для таймера и внешнего прерывания
#define CLUNET_TIMER_COMP_VECTOR TIMER2_COMP_vect