Browse Source

Fix G26 Y position argument

Scott Lahteine 7 years ago
parent
commit
97a43f0c2f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/G26_Mesh_Validation_Tool.cpp

+ 1
- 1
Marlin/G26_Mesh_Validation_Tool.cpp View File

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

Loading…
Cancel
Save