BLDC motor driver
Dependencies: mbed-dev-f303 FastPWM3
Diff: Calibration/calibration.h
- Revision:
- 23:2adf23ee0305
- Parent:
- 22:60276ba87ac6
- Child:
- 47:e1196a851f76
--- a/Calibration/calibration.h Fri Mar 31 18:24:46 2017 +0000 +++ b/Calibration/calibration.h Wed Apr 05 20:54:16 2017 +0000 @@ -4,9 +4,10 @@ #include "foc.h" #include "mbed.h" #include "PositionSensor.h" - +#include "PreferenceWriter.h" +#include "user_config.h" -void order_phases(PositionSensor *ps, GPIOStruct *gpio); -void calibrate(PositionSensor *ps, GPIOStruct *gpio); +void order_phases(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); +void calibrate(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs); #endif