Browse Source

Fix G26 Y argument bug

Scott Lahteine 7 years ago
parent
commit
24437fbb13
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/bedlevel/ubl/G26_Mesh_Validation_Tool.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/ubl/G26_Mesh_Validation_Tool.cpp View File

@@ -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;

Loading…
Cancel
Save