Przeglądaj źródła

Optional menu item for Assisted Tramming (#19447)

qwewer0 4 lat temu
rodzic
commit
0251eb85b2
No account linked to committer's email address

+ 3
- 2
Marlin/Configuration_adv.h Wyświetl plik

773
 //
773
 //
774
 //#define ASSISTED_TRAMMING
774
 //#define ASSISTED_TRAMMING
775
 #if ENABLED(ASSISTED_TRAMMING)
775
 #if ENABLED(ASSISTED_TRAMMING)
776
-
777
   // Define positions for probing points, use the hotend as reference not the sensor.
776
   // Define positions for probing points, use the hotend as reference not the sensor.
778
   #define TRAMMING_POINT_XY { {  20, 20 }, { 200,  20 }, { 200, 200 }, { 20, 200 } }
777
   #define TRAMMING_POINT_XY { {  20, 20 }, { 200,  20 }, { 200, 200 }, { 20, 200 } }
779
 
778
 
786
   // Enable to restore leveling setup after operation
785
   // Enable to restore leveling setup after operation
787
   #define RESTORE_LEVELING_AFTER_G35
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
    * Screw thread:
792
    * Screw thread:
791
    *   M3: 30 = Clockwise, 31 = Counter-Clockwise
793
    *   M3: 30 = Clockwise, 31 = Counter-Clockwise
793
    *   M5: 50 = Clockwise, 51 = Counter-Clockwise
795
    *   M5: 50 = Clockwise, 51 = Counter-Clockwise
794
    */
796
    */
795
   #define TRAMMING_SCREW_THREAD 30
797
   #define TRAMMING_SCREW_THREAD 30
796
-
797
 #endif
798
 #endif
798
 
799
 
799
 // @section motion
800
 // @section motion

+ 1
- 1
Marlin/src/lcd/menu/menu_motion.cpp Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz