Skip to content

Commit

Permalink
style: reposition
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperspacex2 committed Feb 28, 2024
1 parent 8ba1609 commit 766637d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BasicStepperDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ void BasicStepperDriver::calcStepPulse(void){
rest = (2*step_pulse+rest) % (4*step_count+1);
} else {
// The series approximates target, set the final value to what it should be instead
rest = 0;
step_pulse = cruise_step_pulse;
rest = 0;
}
break;

Expand Down

0 comments on commit 766637d

Please sign in to comment.