🩹 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
|
#endif
|
||||||
|
|
||||||
#ifdef XY_AFTER_HOMING
|
#ifdef XY_AFTER_HOMING
|
||||||
constexpr xy_pos_t xy_after XY_AFTER_HOMING;
|
if (!axes_should_home(_BV(X_AXIS) | _BV(Y_AXIS)))
|
||||||
do_blocking_move_to(xy_after);
|
do_blocking_move_to(xy_pos_t(XY_AFTER_HOMING));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
restore_feedrate_and_scaling();
|
restore_feedrate_and_scaling();
|
||||||
|
|
Loading…
Reference in a new issue