Преглед на файлове

add custom menu to set home offset

Thomas Buck преди 2 години
родител
ревизия
74cafcd776
променени са 1 файла, в които са добавени 7 реда и са изтрити 7 реда
  1. 7
    7
      Marlin/Configuration_adv.h

+ 7
- 7
Marlin/Configuration_adv.h Целия файл

@@ -3856,20 +3856,20 @@
3856 3856
 // @section custom main menu
3857 3857
 
3858 3858
 // Custom Menu: Main Menu
3859
-//#define CUSTOM_MENU_MAIN
3859
+#define CUSTOM_MENU_MAIN
3860 3860
 #if ENABLED(CUSTOM_MENU_MAIN)
3861
-  //#define CUSTOM_MENU_MAIN_TITLE "Custom Commands"
3861
+  #define CUSTOM_MENU_MAIN_TITLE "Custom Commands"
3862 3862
   #define CUSTOM_MENU_MAIN_SCRIPT_DONE "M117 User Script Done"
3863 3863
   #define CUSTOM_MENU_MAIN_SCRIPT_AUDIBLE_FEEDBACK
3864
-  //#define CUSTOM_MENU_MAIN_SCRIPT_RETURN   // Return to status screen after a script
3864
+  #define CUSTOM_MENU_MAIN_SCRIPT_RETURN   // Return to status screen after a script
3865 3865
   #define CUSTOM_MENU_MAIN_ONLY_IDLE         // Only show custom menu when the machine is idle
3866 3866
 
3867
-  #define MAIN_MENU_ITEM_1_DESC "Home & UBL Info"
3868
-  #define MAIN_MENU_ITEM_1_GCODE "G28\nG29 W"
3867
+  #define MAIN_MENU_ITEM_1_DESC "Curr. Pos. to Zero"
3868
+  #define MAIN_MENU_ITEM_1_GCODE "G92 X0 Y0"
3869 3869
   //#define MAIN_MENU_ITEM_1_CONFIRM          // Show a confirmation dialog before this action
3870 3870
 
3871
-  #define MAIN_MENU_ITEM_2_DESC "Preheat for " PREHEAT_1_LABEL
3872
-  #define MAIN_MENU_ITEM_2_GCODE "M140 S" STRINGIFY(PREHEAT_1_TEMP_BED) "\nM104 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND)
3871
+  //#define MAIN_MENU_ITEM_2_DESC "Preheat for " PREHEAT_1_LABEL
3872
+  //#define MAIN_MENU_ITEM_2_GCODE "M140 S" STRINGIFY(PREHEAT_1_TEMP_BED) "\nM104 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND)
3873 3873
   //#define MAIN_MENU_ITEM_2_CONFIRM
3874 3874
 
3875 3875
   //#define MAIN_MENU_ITEM_3_DESC "Preheat for " PREHEAT_2_LABEL

Loading…
Отказ
Запис