Fork and fix for mwork

Dependencies:   mbed-dev-f303 FastPWM3 millis

Revision:
23:2adf23ee0305
Parent:
22:60276ba87ac6
Child:
24:58c2d7571207
--- a/structs.h	Fri Mar 31 18:24:46 2017 +0000
+++ b/structs.h	Wed Apr 05 20:54:16 2017 +0000
@@ -31,6 +31,7 @@
     float i_d_ref, i_q_ref;
     int loop_count;
     int mode;
+    float cogging[128];
     } ControllerStruct;
 
 typedef struct{