Add REPORT_TRAMMING_MM option (#19682)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
parent
edda32e6b4
commit
f21b91f1a7
|
@ -806,11 +806,9 @@
|
||||||
#define TRAMMING_POINT_NAME_3 "Back-Right"
|
#define TRAMMING_POINT_NAME_3 "Back-Right"
|
||||||
#define TRAMMING_POINT_NAME_4 "Back-Left"
|
#define TRAMMING_POINT_NAME_4 "Back-Left"
|
||||||
|
|
||||||
// Enable to restore leveling setup after operation
|
#define RESTORE_LEVELING_AFTER_G35 // Enable to restore leveling setup after operation
|
||||||
#define RESTORE_LEVELING_AFTER_G35
|
//#define REPORT_TRAMMING_MM // Report Z deviation (mm) for each point relative to the first
|
||||||
|
//#define ASSISTED_TRAMMING_MENU_ITEM // Add a menu item for Assisted Tramming
|
||||||
// Add a menu item for Assisted Tramming
|
|
||||||
//#define ASSISTED_TRAMMING_MENU_ITEM
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Screw thread:
|
* Screw thread:
|
||||||
|
|
|
@ -160,6 +160,7 @@ void GcodeSuite::G35() {
|
||||||
" ", (screw_thread & 1) == (adjust > 0) ? "CCW" : "CW",
|
" ", (screw_thread & 1) == (adjust > 0) ? "CCW" : "CW",
|
||||||
" by ", abs(full_turns), " turns");
|
" by ", abs(full_turns), " turns");
|
||||||
if (minutes) SERIAL_ECHOPAIR(" and ", abs(minutes), " minutes");
|
if (minutes) SERIAL_ECHOPAIR(" and ", abs(minutes), " minutes");
|
||||||
|
if (ENABLED(REPORT_TRAMMING_MM)) SERIAL_ECHOPAIR(" (", -diff, "mm)");
|
||||||
SERIAL_EOL();
|
SERIAL_EOL();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue