We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53927d8 commit d2a4093Copy full SHA for d2a4093
src/StepperMotor.cpp
@@ -301,11 +301,6 @@ void StepperMotor::loopFOC() {
301
// if disabled do nothing
302
if(!enabled) return;
303
304
- // Needs the update() to be called first
305
- // This function will not have numerical issues because it uses Sensor::getMechanicalAngle()
306
- // which is in range 0-2PI
307
- electrical_angle = electricalAngle();
308
-
309
// Needs the update() to be called first
310
// This function will not have numerical issues because it uses Sensor::getMechanicalAngle()
311
// which is in range 0-2PI
0 commit comments