![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Diff: MTimer.c
- Revision:
- 134:caf4c9cd5052
- Parent:
- 124:9ae09249f842
- Child:
- 143:2b15794a6cd2
--- a/MTimer.c Wed Apr 13 16:49:22 2016 +0000 +++ b/MTimer.c Thu Apr 14 14:13:18 2016 +0000 @@ -130,18 +130,10 @@ LPC_TIM1->MR0 = TimerInterval; LPC_TIM1->MCR = 3; /* Interrupt and Reset on MR1 */ NVIC_EnableIRQ(TIMER1_IRQn); + // NVIC_DisableIRQ(TIMER1_IRQn); } - - - - - - - - - ////////////////////////////////////////////////////////////////////// /////////////////////////включение таймера 1////////////////////////// ////////////////////////////////////////////////////////////////////// @@ -164,6 +156,7 @@ LPC_TIM2->MR0 = 257; LPC_TIM2->MCR = 3; /* Interrupt and Reset on MR0 */ NVIC_EnableIRQ(TIMER2_IRQn); + // NVIC_DisableIRQ(TIMER2_IRQn); return 1; }