diff options
-rw-r--r-- | Tonokip_Firmware/Tonokip_Firmware.pde | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tonokip_Firmware/Tonokip_Firmware.pde b/Tonokip_Firmware/Tonokip_Firmware.pde index 937de99..8ae65da 100644 --- a/Tonokip_Firmware/Tonokip_Firmware.pde +++ b/Tonokip_Firmware/Tonokip_Firmware.pde @@ -1186,8 +1186,8 @@ void linear_move(unsigned long x_steps_remaining, unsigned long y_steps_remainin } } #ifdef RAMP_ACCELERATION - if(x_steps_remaining==0 && - y_steps_remaining==0 && + if(x_steps_remaining>0 && + y_steps_remaining>0 && steps_to_take > 0 && (steps_remaining == plateau_steps || (steps_done >= steps_to_take / 2 && accelerating && !decelerating))) continue; #endif |