From cc6260bd71a2d33c04ec5e741b94a673d78c36e5 Mon Sep 17 00:00:00 2001 From: Emanuele Caruso Date: Sat, 26 Mar 2011 16:45:02 +0100 Subject: Fixed wrong feedrate bug. --- Tonokip_Firmware/Tonokip_Firmware.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tonokip_Firmware/Tonokip_Firmware.pde b/Tonokip_Firmware/Tonokip_Firmware.pde index 321d013..fc106b6 100644 --- a/Tonokip_Firmware/Tonokip_Firmware.pde +++ b/Tonokip_Firmware/Tonokip_Firmware.pde @@ -366,7 +366,7 @@ inline void process_commands() time_for_move = max(X_TIME_FOR_MOVE,Y_TIME_FOR_MOVE); time_for_move = max(time_for_move,Z_TIME_FOR_MOVE); - time_for_move = max(time_for_move,E_TIME_FOR_MOVE); + if(time_for_move <= 0) time_for_move = max(time_for_move,E_TIME_FOR_MOVE); if(x_steps_to_take) x_interval = time_for_move/x_steps_to_take; if(y_steps_to_take) y_interval = time_for_move/y_steps_to_take; -- cgit v1.2.1