Browse Source

Add REPORT_TRAMMING_MM option (#19682)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
qwewer0 4 years ago
parent
commit
f21b91f1a7
No account linked to committer's email address
2 changed files with 4 additions and 5 deletions
  1. 3
    5
      Marlin/Configuration_adv.h
  2. 1
    0
      Marlin/src/gcode/bedlevel/G35.cpp

+ 3
- 5
Marlin/Configuration_adv.h View File

@@ -806,11 +806,9 @@
806 806
   #define TRAMMING_POINT_NAME_3 "Back-Right"
807 807
   #define TRAMMING_POINT_NAME_4 "Back-Left"
808 808
 
809
-  // Enable to restore leveling setup after operation
810
-  #define RESTORE_LEVELING_AFTER_G35
811
-
812
-  // Add a menu item for Assisted Tramming
813
-  //#define ASSISTED_TRAMMING_MENU_ITEM
809
+  #define RESTORE_LEVELING_AFTER_G35    // Enable to restore leveling setup after operation
810
+  //#define REPORT_TRAMMING_MM          // Report Z deviation (mm) for each point relative to the first
811
+  //#define ASSISTED_TRAMMING_MENU_ITEM // Add a menu item for Assisted Tramming
814 812
 
815 813
   /**
816 814
    * Screw thread:

+ 1
- 0
Marlin/src/gcode/bedlevel/G35.cpp View File

@@ -160,6 +160,7 @@ void GcodeSuite::G35() {
160 160
              " ", (screw_thread & 1) == (adjust > 0) ? "CCW" : "CW",
161 161
              " by ", abs(full_turns), " turns");
162 162
       if (minutes) SERIAL_ECHOPAIR(" and ", abs(minutes), " minutes");
163
+      if (ENABLED(REPORT_TRAMMING_MM)) SERIAL_ECHOPAIR(" (", -diff, "mm)");
163 164
       SERIAL_EOL();
164 165
     }
165 166
   }

Loading…
Cancel
Save