🩹 Skip post-G28 XY move for untrusted X or Y (#26644)
Followup to #26469 Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
parent
f4eafed188
commit
38f483c4a6
|
@ -639,8 +639,8 @@ void GcodeSuite::G28() {
|
|||
#endif
|
||||
|
||||
#ifdef XY_AFTER_HOMING
|
||||
constexpr xy_pos_t xy_after XY_AFTER_HOMING;
|
||||
do_blocking_move_to(xy_after);
|
||||
if (!axes_should_home(_BV(X_AXIS) | _BV(Y_AXIS)))
|
||||
do_blocking_move_to(xy_pos_t(XY_AFTER_HOMING));
|
||||
#endif
|
||||
|
||||
restore_feedrate_and_scaling();
|
||||
|
|
Loading…
Reference in a new issue