|
|
@ -9265,10 +9265,10 @@ inline void gcode_M503() {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
inline void gcode_M600() {
|
|
|
|
inline void gcode_M600() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(HOME_BEFORE_FILAMENT_CHANGE)
|
|
|
|
// Don't allow filament change without homing first
|
|
|
|
// Don't allow filament change without homing first
|
|
|
|
if (axis_unhomed_error()) {
|
|
|
|
if (axis_unhomed_error()) home_all_axes();
|
|
|
|
home_all_axes();
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Initial retract before move to filament change position
|
|
|
|
// Initial retract before move to filament change position
|
|
|
|
const float retract = parser.seen('E') ? parser.value_axis_units(E_AXIS) : 0
|
|
|
|
const float retract = parser.seen('E') ? parser.value_axis_units(E_AXIS) : 0
|
|
|
|