Browse Source

Optional menu item for Assisted Tramming (#19447)

qwewer0 4 years ago
parent
commit
0251eb85b2
No account linked to committer's email address
2 changed files with 4 additions and 3 deletions
  1. 3
    2
      Marlin/Configuration_adv.h
  2. 1
    1
      Marlin/src/lcd/menu/menu_motion.cpp

+ 3
- 2
Marlin/Configuration_adv.h View File

@@ -773,7 +773,6 @@
773 773
 //
774 774
 //#define ASSISTED_TRAMMING
775 775
 #if ENABLED(ASSISTED_TRAMMING)
776
-
777 776
   // Define positions for probing points, use the hotend as reference not the sensor.
778 777
   #define TRAMMING_POINT_XY { {  20, 20 }, { 200,  20 }, { 200, 200 }, { 20, 200 } }
779 778
 
@@ -786,6 +785,9 @@
786 785
   // Enable to restore leveling setup after operation
787 786
   #define RESTORE_LEVELING_AFTER_G35
788 787
 
788
+  // Add a menu item for Assisted Tramming
789
+  //#define ASSISTED_TRAMMING_MENU_ITEM
790
+
789 791
   /**
790 792
    * Screw thread:
791 793
    *   M3: 30 = Clockwise, 31 = Counter-Clockwise
@@ -793,7 +795,6 @@
793 795
    *   M5: 50 = Clockwise, 51 = Counter-Clockwise
794 796
    */
795 797
   #define TRAMMING_SCREW_THREAD 30
796
-
797 798
 #endif
798 799
 
799 800
 // @section motion

+ 1
- 1
Marlin/src/lcd/menu/menu_motion.cpp View File

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

Loading…
Cancel
Save