Skip to content

Commit

Permalink
Fix mistaken assignment of z to y
Browse files Browse the repository at this point in the history
  • Loading branch information
Baekalfen authored Feb 9, 2022
1 parent 1e18ce6 commit c74af29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/calibrate/G28.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
constexpr xy_float_t okay_homing_xy = safe_homing_xy;
#endif

destination.set(okay_homing_xy, current_position.z);
destination.set(okay_homing_xy.x, okay_homing_xy.y, current_position.z);

TERN_(HOMING_Z_WITH_PROBE, destination -= probe.offset_xy);

Expand Down

0 comments on commit c74af29

Please sign in to comment.