|
@@ -730,7 +730,7 @@ bool unified_bed_leveling::parse_G26_parameters() {
|
730
|
730
|
}
|
731
|
731
|
|
732
|
732
|
g26_x_pos = parser.seenval('X') ? RAW_X_POSITION(parser.value_linear_units()) : current_position[X_AXIS];
|
733
|
|
- g26_y_pos = parser.seenval('Y') ? RAW_X_POSITION(parser.value_linear_units()) : current_position[Y_AXIS];
|
|
733
|
+ g26_y_pos = parser.seenval('Y') ? RAW_Y_POSITION(parser.value_linear_units()) : current_position[Y_AXIS];
|
734
|
734
|
if (!position_is_reachable(g26_x_pos, g26_y_pos)) {
|
735
|
735
|
SERIAL_PROTOCOLLNPGM("?Specified X,Y coordinate out of bounds.");
|
736
|
736
|
return UBL_ERR;
|