Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: CurrentRegulator/CurrentRegulator.cpp
- Revision:
- 3:6a0015d88d06
- Parent:
- 2:8724412ad628
- Child:
- 4:c023f7b6f462
diff -r 8724412ad628 -r 6a0015d88d06 CurrentRegulator/CurrentRegulator.cpp
--- a/CurrentRegulator/CurrentRegulator.cpp	Fri Feb 19 04:13:06 2016 +0000
+++ b/CurrentRegulator/CurrentRegulator.cpp	Wed Mar 09 04:00:48 2016 +0000
@@ -11,7 +11,7 @@
     _Inverter = inverter;
     PWM = new SPWM(inverter, 2.0);
     _PositionSensor = position_sensor;
-    IQ_Ref = 5;
+    IQ_Ref = 1;
     ID_Ref = 0;
     V_Q = 0;
     V_D = 0;