forkd

Dependencies:   mbed

Fork of LGstaandart by Dmitry Kovalev

Revision:
231:079835d508ef
Parent:
112:4a96133a1311
--- a/SIP.c	Tue Jan 09 13:25:45 2018 +0000
+++ b/SIP.c	Thu Jan 25 13:59:43 2018 +0000
@@ -58,10 +58,10 @@
     __int64 temp,temp3;
 
     temp = (__int64)y_curr *(__int64)x_interp;
-    temp /= PrevPeriod;  //	 void ServiceTime(void) ||| PrevPeriod = LPC_PWM1->MR0; ||| (CyclesSync.c)
+    //temp /= PrevPeriod;  //	 void ServiceTime(void) ||| PrevPeriod = LPC_PWM1->MR0; ||| (CyclesSync.c)
 
     temp3 = (__int64)y_curr *(__int64)(x_interp+1);
-    temp3 /= PrevPeriod;
+   // temp3 /= PrevPeriod;
     temp22 = (int)temp3;
 
     return ((int)temp);