We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77ba3fe + 50fc6de commit ecfbcd2Copy full SHA for ecfbcd2
src/BLDCMotor.cpp
@@ -151,7 +151,6 @@ int BLDCMotor::initFOC() {
151
// alignment necessary for encoders!
152
// sensor and motor alignment - can be skipped
153
// by setting motor.sensor_direction and motor.zero_electric_angle
154
- _delay(500);
155
if(sensor){
156
exit_flag *= alignSensor();
157
// added the shaft_angle update
@@ -165,7 +164,6 @@ int BLDCMotor::initFOC() {
165
164
// aligning the current sensor - can be skipped
166
// checks if driver phases are the same as current sense phases
167
// and checks the direction of measuremnt.
168
169
if(exit_flag){
170
if(current_sense){
171
if (!current_sense->initialized) {
0 commit comments