fork

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
210:b02fa166315d
Parent:
209:224e7331a061
Child:
211:ac8251b067d2
--- a/MTimer.c	Thu Apr 13 14:14:45 2017 +0000
+++ b/MTimer.c	Mon Apr 24 05:43:54 2017 +0000
@@ -221,8 +221,8 @@
 /////////////////////////прерывание таймера 2//////////////////////////
 ///////////////////////////////////////////////////////////////////////
 __irq void TIMER2_IRQHandler (void)
-{
-
+{   
+    LoopOn
     LPC_TIM2->IR = 1;
 
     if(Time_UART) Time_UART--;
@@ -259,5 +259,6 @@
             Time250Hz -= 6;
             Event250Hz ++;     
          }
-
+   
+    LoopOff
 }
\ No newline at end of file