Scott Lahteine 7 years ago
parent
commit
0b1d754e7d
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/Marlin_main.cpp

+ 3
- 3
Marlin/Marlin_main.cpp View File

@@ -68,7 +68,7 @@
68 68
  * G32  - Undock sled (Z_PROBE_SLED only)
69 69
  * G33  - Delta Auto-Calibration (Requires DELTA_AUTO_CALIBRATION)
70 70
  * G38  - Probe in any direction using the Z_MIN_PROBE (Requires G38_PROBE_TARGET)
71
- * G42  - Coordinated move to a mesh point (Requires AUTO_BED_LEVELING_UBL)
71
+ * G42  - Coordinated move to a mesh point (Requires MESH_BED_LEVELING, AUTO_BED_LEVELING_BLINEAR, or AUTO_BED_LEVELING_UBL)
72 72
  * G90  - Use Absolute Coordinates
73 73
  * G91  - Use Relative Coordinates
74 74
  * G92  - Set current position to coordinates given
@@ -6188,9 +6188,9 @@ void home_all_axes() { gcode_G28(true); }
6188 6188
 
6189 6189
     if (IsRunning()) {
6190 6190
       const bool hasI = parser.seenval('I');
6191
-      const int8_t ix = RAW_X_POSITION(hasI ? parser.value_linear_units() : 0);
6191
+      const int8_t ix = hasI ? parser.value_int() : 0;
6192 6192
       const bool hasJ = parser.seenval('J');
6193
-      const int8_t iy = RAW_Y_POSITION(hasJ ? parser.value_linear_units() : 0);
6193
+      const int8_t iy = hasJ ? parser.value_int() : 0;
6194 6194
 
6195 6195
       if ((hasI && !WITHIN(ix, 0, GRID_MAX_POINTS_X - 1)) || (hasJ && !WITHIN(iy, 0, GRID_MAX_POINTS_Y - 1))) {
6196 6196
         SERIAL_ECHOLNPGM(MSG_ERR_MESH_XY);

Loading…
Cancel
Save