[2.0.x] Fix change filament for delta machines (#9295)
This commit is contained in:
committed by
Scott Lahteine
parent
62ecc74e76
commit
3db35ba9be
@ -50,6 +50,11 @@
|
||||
void GcodeSuite::M701() {
|
||||
point_t park_point = NOZZLE_PARK_POINT;
|
||||
|
||||
#if ENABLED(NO_MOTION_BEFORE_HOMING)
|
||||
// Only raise Z if the machine is homed
|
||||
if (axis_unhomed_error()) park_point.z = 0;
|
||||
#endif
|
||||
|
||||
if (get_target_extruder_from_command()) return;
|
||||
|
||||
// Z axis lift
|
||||
@ -107,6 +112,11 @@ void GcodeSuite::M701() {
|
||||
void GcodeSuite::M702() {
|
||||
point_t park_point = NOZZLE_PARK_POINT;
|
||||
|
||||
#if ENABLED(NO_MOTION_BEFORE_HOMING)
|
||||
// Only raise Z if the machine is homed
|
||||
if (axis_unhomed_error()) park_point.z = 0;
|
||||
#endif
|
||||
|
||||
if (get_target_extruder_from_command()) return;
|
||||
|
||||
// Z axis lift
|
||||
|
Reference in New Issue
Block a user