Optional menu item for Assisted Tramming (#19447)

This commit is contained in:
qwewer0 2020-09-21 05:29:34 +02:00 committed by Scott Lahteine
parent 33788c8405
commit d2a36b38ca
2 changed files with 4 additions and 3 deletions

View File

@ -773,7 +773,6 @@
//
//#define ASSISTED_TRAMMING
#if ENABLED(ASSISTED_TRAMMING)
// Define positions for probing points, use the hotend as reference not the sensor.
#define TRAMMING_POINT_XY { { 20, 20 }, { 200, 20 }, { 200, 200 }, { 20, 200 } }
@ -786,6 +785,9 @@
// Enable to restore leveling setup after operation
#define RESTORE_LEVELING_AFTER_G35
// Add a menu item for Assisted Tramming
//#define ASSISTED_TRAMMING_MENU_ITEM
/**
* Screw thread:
* M3: 30 = Clockwise, 31 = Counter-Clockwise
@ -793,7 +795,6 @@
* M5: 50 = Clockwise, 51 = Counter-Clockwise
*/
#define TRAMMING_SCREW_THREAD 30
#endif
// @section motion

View File

@ -348,7 +348,7 @@ void menu_motion() {
//
// Assisted Bed Tramming
//
#if ENABLED(ASSISTED_TRAMMING)
#if ENABLED(ASSISTED_TRAMMING_MENU_ITEM)
GCODES_ITEM(MSG_ASSISTED_TRAMMING, PSTR("G35"));
#endif