|
@@ -4987,14 +4987,15 @@ inline void gcode_M503() {
|
4987
|
4987
|
lcd_update();
|
4988
|
4988
|
#else
|
4989
|
4989
|
current_position[E_AXIS] += AUTO_FILAMENT_CHANGE_LENGTH;
|
4990
|
|
- plan_buffer_line(target[X_AXIS],target[Y_AXIS],target[Z_MAX_ENDSTOP_INVERTING],current_position[E_AXIS],AUTO_FILAMENT_CHANGE_FEEDRATE/60,active_extruder);
|
|
4990
|
+ destination[E_AXIS] = current_position[E_AXIS];
|
|
4991
|
+ line_to_destination(AUTO_FILAMENT_CHANGE_FEEDRATE);
|
4991
|
4992
|
st_synchronize();
|
4992
|
4993
|
#endif
|
4993
|
4994
|
} // while(!lcd_clicked)
|
4994
|
4995
|
lcd_quick_feedback(); // click sound feedback
|
4995
|
4996
|
|
4996
|
4997
|
#ifdef AUTO_FILAMENT_CHANGE
|
4997
|
|
- current_position[E_AXIS]= 0;
|
|
4998
|
+ current_position[E_AXIS] = 0;
|
4998
|
4999
|
st_synchronize();
|
4999
|
5000
|
#endif
|
5000
|
5001
|
|