|
|
|
@ -1835,11 +1835,11 @@ ISR(TIMER0_COMPB_vect) {
|
|
|
|
|
int curTodo = babystepsTodo[axis]; //get rid of volatile for performance
|
|
|
|
|
|
|
|
|
|
if (curTodo > 0) {
|
|
|
|
|
babystep(axis,/*fwd*/true);
|
|
|
|
|
stepper.babystep(axis,/*fwd*/true);
|
|
|
|
|
babystepsTodo[axis]--; //fewer to do next time
|
|
|
|
|
}
|
|
|
|
|
else if (curTodo < 0) {
|
|
|
|
|
babystep(axis,/*fwd*/false);
|
|
|
|
|
stepper.babystep(axis,/*fwd*/false);
|
|
|
|
|
babystepsTodo[axis]++; //fewer to do next time
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|