fix ACCELERATION_REPRAP build (moved/extra vars)
REPRAP style acceleration broke quite a while ago, but no one noticed.
Maybe it's not being used, and therefore also not tested. But it should
at least compile while it remains an option.
The compiler complains that dda->n is not defined and that current_id is
never used. The first bug goes back to f0b9daeea0 in late 2013.
In the interest of supporting exploratory accelerations, fix this to
build when ACCELERATION_REPRAP is chosen.
This commit is contained in:
parent
c3f0d05581
commit
803ff6e8b3
2
dda.c
2
dda.c
|
|
@ -756,8 +756,8 @@ void dda_clock() {
|
|||
uint32_t move_step_no, move_c;
|
||||
int32_t move_n;
|
||||
uint8_t recalc_speed;
|
||||
#endif
|
||||
uint8_t current_id ;
|
||||
#endif
|
||||
|
||||
dda = queue_current_movement();
|
||||
if (dda != last_dda) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue