Fix BABYSTEPPING, add it to Travis test
This commit is contained in:
parent
37c4970d87
commit
85e732d5fd
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue