dda.c: update last_dda also when idle.
This commit is contained in:
parent
a80eff84f8
commit
a97c65b940
3
dda.c
3
dda.c
|
|
@ -728,6 +728,7 @@ void dda_clock() {
|
|||
move_state.debounce_count_zmin = move_state.debounce_count_xmax =
|
||||
move_state.debounce_count_ymax = move_state.debounce_count_zmax = 0;
|
||||
endstop_stop = 0;
|
||||
last_dda = dda;
|
||||
}
|
||||
|
||||
if (dda == NULL)
|
||||
|
|
@ -815,8 +816,6 @@ void dda_clock() {
|
|||
}
|
||||
} /* if (endstop_stop == 0) */
|
||||
|
||||
last_dda = dda;
|
||||
|
||||
cli(); // Compensate sei() above.
|
||||
busy = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue