123
Fork of LG by
Diff: CyclesSync.c
- Revision:
- 112:4a96133a1311
- Parent:
- 21:bc8c1cec3da6
- Child:
- 193:a0fe8bfc97e4
--- a/CyclesSync.c Mon Apr 04 03:21:25 2016 +0000 +++ b/CyclesSync.c Mon Apr 04 11:09:56 2016 +0000 @@ -47,7 +47,7 @@ ** Returned value: None ** ******************************************************************************/ -void Latch_Event() +/*void Latch_Event() { static unsigned PreLatch = 0; // static int cc = 0; @@ -63,7 +63,7 @@ } } } else - Latch_Rdy = 0; //e. latch is absent + Latch_Rdy = 0; //e. latch is absent*/ //---------------------------temp------------------------------- /* Latch_Rdy = 0; //e. latch is absent if (cc++ == 19) @@ -73,7 +73,7 @@ LatchPhase = 2500; } */ //----------------------temp-------------------------------- -} +//} /****************************************************************************** ** Function name: QEI_IRQHandler @@ -221,7 +221,6 @@ SetIntLatch(50000); return 1; } - /****************************************************************************** ** Function name: ServiceTime ** @@ -241,7 +240,7 @@ } if (Seconds == 3) { Seconds++; - close_all_loops(); + // close_all_loops(); } Sys_Clock++; //e. increment of the system clock register //r. инкремент регистра временной сетки системы PrevPeriod = LPC_PWM1->MR0;