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