Browse Source

Optional menu item for Assisted Tramming (#19447)

vanilla_fb_2.0.x
qwewer0 4 years ago
committed by Scott Lahteine
parent
commit
d2a36b38ca
  1. 5
      Marlin/Configuration_adv.h
  2. 2
      Marlin/src/lcd/menu/menu_motion.cpp

5
Marlin/Configuration_adv.h

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

2
Marlin/src/lcd/menu/menu_motion.cpp

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

Loading…
Cancel
Save