Skip to content

Commit

Permalink
sorry for the mess ...
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Jun 14, 2022
1 parent 9d10a83 commit 82323a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions firmware/src/StepperWrapper_TeensyStep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ void StepperWrapper_TeensyStep::moveMicroSteps(int32_t steps) {
DEBUG_PRINTF("Moving %d 1/%d-steps ...\n",steps,_microsteps);
_motor->setAcceleration(_aMu); // set acceleration
_motor->setMaxSpeed(_vMaxMu); // set speed
steps = _microsteps * steps / _msRes;
DEBUG_PRINTF("Moving %d 1/%d-steps ...\n",steps,_microsteps);
_motor->setTargetRel(steps); // set relative target
_stepControl->moveAsync(*_motor); // start moving

Expand Down

0 comments on commit 82323a0

Please sign in to comment.