Browse Source

EEPROM report uses G29 S3

Scott Lahteine 8 years ago
parent
commit
9049f4084b
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/configuration_store.cpp

+ 6
- 6
Marlin/configuration_store.cpp View File

62
  *  201            z_offset (float) (added in V23)
62
  *  201            z_offset (float) (added in V23)
63
  *  205            mesh_num_x (uint8 as set in firmware)
63
  *  205            mesh_num_x (uint8 as set in firmware)
64
  *  206            mesh_num_y (uint8 as set in firmware)
64
  *  206            mesh_num_y (uint8 as set in firmware)
65
- *  207  M421 XYZ  z_values[][] (float x9, by default)
65
+ *  207 G29 S3 XYZ z_values[][] (float x9, by default)
66
  *
66
  *
67
  * AUTO BED LEVELING
67
  * AUTO BED LEVELING
68
  *  243  M851      zprobe_zoffset (float)
68
  *  243  M851      zprobe_zoffset (float)
733
     SERIAL_ECHOPAIR(" X", MESH_NUM_X_POINTS);
733
     SERIAL_ECHOPAIR(" X", MESH_NUM_X_POINTS);
734
     SERIAL_ECHOPAIR(" Y", MESH_NUM_Y_POINTS);
734
     SERIAL_ECHOPAIR(" Y", MESH_NUM_Y_POINTS);
735
     SERIAL_EOL;
735
     SERIAL_EOL;
736
-    for (uint8_t py = 0; py < MESH_NUM_Y_POINTS; py++) {
737
-      for (uint8_t px = 0; px < MESH_NUM_X_POINTS; px++) {
736
+    for (uint8_t py = 1; py <= MESH_NUM_Y_POINTS; py++) {
737
+      for (uint8_t px = 1; px <= MESH_NUM_X_POINTS; px++) {
738
         CONFIG_ECHO_START;
738
         CONFIG_ECHO_START;
739
-        SERIAL_ECHOPAIR("  M421 X", mbl.get_probe_x(px));
740
-        SERIAL_ECHOPAIR(" Y", mbl.get_probe_y(py));
739
+        SERIAL_ECHOPAIR("  G29 S3 X", px);
740
+        SERIAL_ECHOPAIR(" Y", py);
741
         SERIAL_ECHOPGM(" Z");
741
         SERIAL_ECHOPGM(" Z");
742
-        SERIAL_PROTOCOL_F(mbl.z_values[py][px], 5);
742
+        SERIAL_PROTOCOL_F(mbl.z_values[py-1][px-1], 5);
743
         SERIAL_EOL;
743
         SERIAL_EOL;
744
       }
744
       }
745
     }
745
     }

Loading…
Cancel
Save