dda.c: update last_dda also when idle.

This commit is contained in:
Markus Hitter 2013-10-23 16:15:25 +02:00
parent a80eff84f8
commit a97c65b940
1 changed files with 1 additions and 2 deletions

3
dda.c
View File

@ -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;
}