Fixed wrong feedrate bug.

This commit is contained in:
Emanuele Caruso 2011-03-26 16:45:02 +01:00
parent 0e0087ef75
commit cc6260bd71

View file

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