PWM and ALGO updated.. PWM getting generated

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of TFR_BAE_vr1_1working_finally_PWM_CTRLALGO_update by Team Fox

Revision:
14:ccdf8790a15e
Parent:
13:75aa0104f5e6
--- a/ACS.cpp	Sat Apr 02 14:27:09 2016 +0000
+++ b/ACS.cpp	Thu Apr 07 18:12:20 2016 +0000
@@ -80,7 +80,7 @@
     float OmegaMax=1*3.1415/180.0; // Unit: Radians/Second
     float normalising_fact;
     float b1_copy[3], omega1_copy[3], db1_copy[3];
-    int i, j;
+    int i;
     if(flag_firsttime==1)
         {
             for(i=0;i<3;i++)