Fork and fix for mwork

Dependencies:   mbed-dev-f303 FastPWM3 millis

Revision:
47:e1196a851f76
Parent:
45:26801179208e
Child:
48:74a40481740c
--- a/FOC/foc.h	Thu Jul 12 02:50:34 2018 +0000
+++ b/FOC/foc.h	Wed Dec 05 04:07:46 2018 +0000
@@ -1,12 +1,12 @@
 #ifndef FOC_H
 #define FOC_H
 
-#include "structs.h"
+#include "../structs.h"
 #include "PositionSensor.h"
 #include "mbed.h"
 #include "hw_config.h"
 #include "math.h"
-#include "math_ops.h"
+#include "../math_ops.h"
 #include "motor_config.h"
 #include "current_controller_config.h"
 #include "FastMath.h"
@@ -18,7 +18,7 @@
 void zero_current(int *offset_1, int *offset_2);
 void reset_foc(ControllerStruct *controller);
 void init_controller_params(ControllerStruct *controller);
-void commutate(ControllerStruct *controller, ObserverStruct *observer, GPIOStruct *gpio, float theta);
+void commutate(ControllerStruct *controller, GPIOStruct *gpio, float theta);
 void torque_control(ControllerStruct *controller);
 void limit_current_ref (ControllerStruct *controller);
 #endif