浏览代码

Followup for BABYSTEP_HOTEND_Z_OFFSET (#11916)

Scott Lahteine 6 年前
父节点
当前提交
cee34f7290
没有帐户链接到提交者的电子邮件
共有 65 个文件被更改,包括 291 次插入118 次删除
  1. 4
    5
      Marlin/Configuration_adv.h
  2. 4
    1
      Marlin/src/config/default/Configuration_adv.h
  3. 4
    1
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 4
    1
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  5. 4
    1
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  6. 4
    1
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  7. 4
    1
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  8. 4
    1
      Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
  9. 4
    1
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  10. 4
    1
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  11. 4
    1
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  12. 4
    1
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  13. 4
    1
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  14. 4
    1
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  15. 4
    1
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  16. 4
    1
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  17. 4
    1
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  18. 4
    1
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  19. 4
    1
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  20. 4
    1
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  21. 4
    1
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  22. 4
    1
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  23. 4
    1
      Marlin/src/config/examples/Felix/Configuration_adv.h
  24. 4
    1
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  25. 4
    4
      Marlin/src/config/examples/Formbot/T-Rex_2+/Configuration.h
  26. 4
    1
      Marlin/src/config/examples/Formbot/T-Rex_2+/Configuration_adv.h
  27. 5
    5
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
  28. 4
    1
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  29. 4
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  30. 4
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  31. 4
    1
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  32. 4
    1
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  33. 4
    1
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  34. 4
    1
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  35. 4
    1
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  36. 4
    1
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  37. 4
    1
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  38. 4
    1
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  39. 4
    1
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  40. 4
    1
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  41. 4
    1
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  42. 4
    1
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  43. 4
    1
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  44. 4
    1
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  45. 4
    1
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  46. 4
    1
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  47. 4
    1
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  48. 4
    1
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  49. 4
    1
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  50. 4
    1
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  51. 4
    1
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  52. 4
    1
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  53. 4
    1
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  54. 4
    1
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  55. 4
    1
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  56. 4
    1
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  57. 4
    1
      Marlin/src/config/examples/makibox/Configuration_adv.h
  58. 4
    1
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  59. 4
    1
      Marlin/src/config/examples/wt150/Configuration_adv.h
  60. 14
    14
      Marlin/src/gcode/motion/M290.cpp
  61. 7
    2
      Marlin/src/inc/SanityCheck.h
  62. 22
    18
      Marlin/src/lcd/ultralcd.cpp
  63. 6
    6
      Marlin/src/module/configuration_store.cpp
  64. 4
    7
      Marlin/src/pins/pins_FORMBOT_TREX2PLUS.h
  65. 1
    1
      buildroot/share/tests/megaatmega2560_tests

+ 4
- 5
Marlin/Configuration_adv.h 查看文件

@@ -770,15 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
-
779
-  // Allow babystepping tool z offsets, allowing compensation for tools at different heights.
780
-  // Ignored in Independent X Carriage Duplicate mode, where tool 0 Z probe offset will be used.
781
-  //#define BABYSTEP_HOTEND_Z_OFFSET
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
782 781
 #endif
783 782
 
784 783
 // @section extruder

+ 4
- 1
Marlin/src/config/default/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Anet/A2/Configuration_adv.h 查看文件

@@ -759,11 +759,14 @@
759 759
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
760 760
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
761 761
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
762
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
762
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
763 763
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
764 764
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
765 765
                                         // Note: Extra time may be added to mitigate controller latency.
766 766
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
767
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
768
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
769
+  #endif
767 770
 #endif
768 771
 
769 772
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h 查看文件

@@ -759,11 +759,14 @@
759 759
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
760 760
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
761 761
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
762
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
762
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
763 763
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
764 764
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
765 765
                                         // Note: Extra time may be added to mitigate controller latency.
766 766
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
767
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
768
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
769
+  #endif
767 770
 #endif
768 771
 
769 772
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Anet/A6/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Anet/A8/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h 查看文件

@@ -778,11 +778,14 @@
778 778
   //#define BABYSTEP_XY                   // Also enable X/Y Babystepping. Not supported on DELTA!
779 779
   #define BABYSTEP_INVERT_Z false         // Change if Z babysteps should go the other way
780 780
   #define BABYSTEP_MULTIPLICATOR 2        // Babysteps are very small. Increase for faster motion.
781
-  //#define BABYSTEP_ZPROBE_OFFSET          // Enable to combine M851 and Babystepping
781
+  //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
782 782
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING  // Double-click on the Status Screen for Z Babystepping.
783 783
   #define DOUBLECLICK_MAX_INTERVAL  1500  // Maximum interval between clicks, in milliseconds.
784 784
                                           // Note: Extra time may be added to mitigate controller latency.
785 785
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY   // Enable graphical overlay on Z-offset editor
786
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
787
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
788
+  #endif
786 789
 #endif
787 790
 
788 791
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Cartesio/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR  10 // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 5   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 5   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 5   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Einstart-S/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Felix/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR   2 // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 4
Marlin/src/config/examples/Formbot/T-Rex_2+/Configuration.h 查看文件

@@ -327,7 +327,7 @@
327 327
 #define TEMP_SENSOR_4 0
328 328
 #define TEMP_SENSOR_5 0
329 329
 
330
-#if(ENABLED(ROXYs_TRex))
330
+#ifdef ROXYs_TRex
331 331
   #define TEMP_SENSOR_BED 11
332 332
 #else
333 333
 #define TEMP_SENSOR_BED 0
@@ -398,7 +398,7 @@
398 398
 
399 399
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
400 400
 
401
-  #if(ENABLED(ROXYs_TRex))
401
+  #ifdef ROXYs_TRex
402 402
     // Roxy's T-Rex 2+
403 403
     #define DEFAULT_Kp 15.17
404 404
     #define DEFAULT_Ki 0.88
@@ -455,7 +455,7 @@
455 455
 
456 456
   //#define PID_BED_DEBUG // Sends debug data to the serial port.
457 457
 
458
-  #if(ENABLED(ROXYs_TRex))
458
+  #ifdef ROXYs_TRex
459 459
     // T-Rex 2+
460 460
     #define DEFAULT_bedKp 289.73
461 461
     #define DEFAULT_bedKi 51.26
@@ -953,7 +953,7 @@
953 953
 #define Z_MIN_POS 0
954 954
 #define X_MAX_POS 450
955 955
 #define Y_MAX_POS Y_BED_SIZE
956
-#if(ENABLED(tallVersion))
956
+#if ENABLED(tallVersion)
957 957
   #define Z_MAX_POS 700
958 958
 #else
959 959
   #define Z_MAX_POS 500

+ 4
- 1
Marlin/src/config/examples/Formbot/T-Rex_2+/Configuration_adv.h 查看文件

@@ -774,11 +774,14 @@
774 774
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
775 775
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
776 776
   #define BABYSTEP_MULTIPLICATOR 40  // Babysteps are very small. Increase for faster motion.
777
-//#define BABYSTEP_ZPROBE_OFFSET     // Enable to combine M851 and Babystepping
777
+//#define BABYSTEP_ZPROBE_OFFSET     // Combine M851 Z and Babystepping
778 778
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
779 779
   #define DOUBLECLICK_MAX_INTERVAL 1250  // Maximum interval between clicks, in milliseconds.
780 780
                                          // Note: Extra time may be added to mitigate controller latency.
781 781
 //#define BABYSTEP_ZPROBE_GFX_OVERLAY    // Enable graphical overlay on Z-offset editor
782
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
783
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
784
+  #endif
782 785
 #endif
783 786
 
784 787
 // @section extruder

+ 5
- 5
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h 查看文件

@@ -332,11 +332,11 @@
332 332
 #define TEMP_SENSOR_4 0
333 333
 #define TEMP_SENSOR_5 0
334 334
 
335
-#if(ENABLED(ROXYs_TRex))
335
+#ifdef ROXYs_TRex
336 336
   #define TEMP_SENSOR_BED 11
337 337
 #endif
338 338
 
339
-#if(ENABLED(TREX3))
339
+#if ENABLED(TREX3)
340 340
   #define TEMP_SENSOR_BED 11
341 341
 #endif
342 342
 
@@ -409,7 +409,7 @@
409 409
 
410 410
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
411 411
 
412
-  #if(ENABLED(ROXYs_TRex))
412
+  #ifdef ROXYs_TRex
413 413
     // Roxy's T-Rex 2+
414 414
     #define DEFAULT_Kp 15.17
415 415
     #define DEFAULT_Ki 0.88
@@ -466,7 +466,7 @@
466 466
 
467 467
   //#define PID_BED_DEBUG // Sends debug data to the serial port.
468 468
 
469
-  #if(ENABLED(ROXYs_TRex))
469
+  #ifdef ROXYs_TRex
470 470
     // T-Rex 2+
471 471
     #define DEFAULT_bedKp 289.73
472 472
     #define DEFAULT_bedKi 51.26
@@ -964,7 +964,7 @@
964 964
 #define Z_MIN_POS 0
965 965
 #define X_MAX_POS 450
966 966
 #define Y_MAX_POS Y_BED_SIZE
967
-#if(ENABLED(tallVersion))
967
+#if ENABLED(tallVersion)
968 968
   #define Z_MAX_POS 700
969 969
 #else
970 970
   #define Z_MAX_POS 500

+ 4
- 1
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h 查看文件

@@ -773,11 +773,14 @@
773 773
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
774 774
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
775 775
   #define BABYSTEP_MULTIPLICATOR 40  // Babysteps are very small. Increase for faster motion.
776
-//#define BABYSTEP_ZPROBE_OFFSET     // Enable to combine M851 and Babystepping
776
+//#define BABYSTEP_ZPROBE_OFFSET     // Combine M851 Z and Babystepping
777 777
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
778 778
   #define DOUBLECLICK_MAX_INTERVAL 1250  // Maximum interval between clicks, in milliseconds.
779 779
                                          // Note: Extra time may be added to mitigate controller latency.
780 780
 //#define BABYSTEP_ZPROBE_GFX_OVERLAY    // Enable graphical overlay on Z-offset editor
781
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
782
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
783
+  #endif
781 784
 #endif
782 785
 
783 786
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 5   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/MakerParts/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h 查看文件

@@ -778,11 +778,14 @@
778 778
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
779 779
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
780 780
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
781
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
781
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
782 782
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
783 783
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
784 784
                                         // Note: Extra time may be added to mitigate controller latency.
785 785
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
786
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
787
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
788
+  #endif
786 789
 #endif
787 790
 
788 791
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/RigidBot/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/SCARA/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/TheBorg/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h 查看文件

@@ -759,11 +759,14 @@
759 759
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
760 760
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
761 761
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
762
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
762
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
763 763
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
764 764
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
765 765
                                         // Note: Extra time may be added to mitigate controller latency.
766 766
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
767
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
768
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
769
+  #endif
767 770
 #endif
768 771
 
769 772
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h 查看文件

@@ -783,11 +783,14 @@
783 783
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
784 784
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
785 785
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
786
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
786
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
787 787
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
788 788
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
789 789
                                         // Note: Extra time may be added to mitigate controller latency.
790 790
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
791
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
792
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
793
+  #endif
791 794
 #endif
792 795
 
793 796
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h 查看文件

@@ -772,11 +772,14 @@
772 772
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
773 773
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
774 774
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
775
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
775
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
776 776
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
777 777
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
778 778
                                         // Note: Extra time may be added to mitigate controller latency.
779 779
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
780
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
781
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
782
+  #endif
780 783
 #endif
781 784
 
782 785
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h 查看文件

@@ -754,11 +754,14 @@
754 754
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
755 755
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
756 756
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
757
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
757
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
758 758
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
759 759
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
760 760
                                         // Note: Extra time may be added to mitigate controller latency.
761 761
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
762
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
763
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
764
+  #endif
762 765
 #endif
763 766
 
764 767
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h 查看文件

@@ -772,11 +772,14 @@
772 772
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
773 773
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
774 774
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
775
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
775
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
776 776
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
777 777
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
778 778
                                         // Note: Extra time may be added to mitigate controller latency.
779 779
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
780
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
781
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
782
+  #endif
780 783
 #endif
781 784
 
782 785
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h 查看文件

@@ -772,11 +772,14 @@
772 772
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
773 773
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
774 774
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
775
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
775
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
776 776
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
777 777
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
778 778
                                         // Note: Extra time may be added to mitigate controller latency.
779 779
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
780
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
781
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
782
+  #endif
780 783
 #endif
781 784
 
782 785
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h 查看文件

@@ -772,11 +772,14 @@
772 772
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
773 773
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
774 774
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
775
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
775
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
776 776
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
777 777
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
778 778
                                         // Note: Extra time may be added to mitigate controller latency.
779 779
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
780
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
781
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
782
+  #endif
780 783
 #endif
781 784
 
782 785
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/delta/generic/Configuration_adv.h 查看文件

@@ -772,11 +772,14 @@
772 772
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
773 773
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
774 774
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
775
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
775
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
776 776
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
777 777
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
778 778
                                         // Note: Extra time may be added to mitigate controller latency.
779 779
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
780
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
781
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
782
+  #endif
780 783
 #endif
781 784
 
782 785
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h 查看文件

@@ -772,11 +772,14 @@
772 772
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
773 773
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
774 774
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
775
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
775
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
776 776
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
777 777
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
778 778
                                         // Note: Extra time may be added to mitigate controller latency.
779 779
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
780
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
781
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
782
+  #endif
780 783
 #endif
781 784
 
782 785
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h 查看文件

@@ -777,11 +777,14 @@
777 777
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
778 778
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
779 779
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
780
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
780
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
781 781
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
782 782
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
783 783
                                         // Note: Extra time may be added to mitigate controller latency.
784 784
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
785
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
786
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
787
+  #endif
785 788
 #endif
786 789
 
787 790
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h 查看文件

@@ -772,11 +772,14 @@
772 772
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
773 773
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
774 774
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
775
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
775
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
776 776
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
777 777
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
778 778
                                         // Note: Extra time may be added to mitigate controller latency.
779 779
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
780
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
781
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
782
+  #endif
780 783
 #endif
781 784
 
782 785
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR   3 // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   #define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/makibox/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h 查看文件

@@ -770,11 +770,14 @@
770 770
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
771 771
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
772 772
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
773
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
773
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
774 774
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
775 775
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
776 776
                                         // Note: Extra time may be added to mitigate controller latency.
777 777
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
778
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
779
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
780
+  #endif
778 781
 #endif
779 782
 
780 783
 // @section extruder

+ 4
- 1
Marlin/src/config/examples/wt150/Configuration_adv.h 查看文件

@@ -771,11 +771,14 @@
771 771
   //#define BABYSTEP_XY              // Also enable X/Y Babystepping. Not supported on DELTA!
772 772
   #define BABYSTEP_INVERT_Z false    // Change if Z babysteps should go the other way
773 773
   #define BABYSTEP_MULTIPLICATOR 1   // Babysteps are very small. Increase for faster motion.
774
-  //#define BABYSTEP_ZPROBE_OFFSET   // Enable to combine M851 and Babystepping
774
+  //#define BABYSTEP_ZPROBE_OFFSET   // Combine M851 Z and Babystepping
775 775
   //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
776 776
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
777 777
                                         // Note: Extra time may be added to mitigate controller latency.
778 778
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
779
+  #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
780
+    //#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
781
+  #endif
779 782
 #endif
780 783
 
781 784
 // @section extruder

+ 14
- 14
Marlin/src/gcode/motion/M290.cpp 查看文件

@@ -33,27 +33,27 @@
33 33
   #include "../../core/serial.h"
34 34
 #endif
35 35
 
36
-
37 36
 #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
37
+
38 38
   FORCE_INLINE void mod_zprobe_zoffset(const float &offs) {
39
-    #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
40
-      if (active_extruder == 0)
41
-      {
42
-        zprobe_zoffset += offs;
43
-        SERIAL_ECHO_START();
44
-        SERIAL_ECHOLNPAIR(MSG_PROBE_Z_OFFSET ": ", zprobe_zoffset);
45
-      } else {
46
-          hotend_offset[Z_AXIS][active_extruder] -= offs;
47
-          SERIAL_ECHO_START();
48
-          SERIAL_ECHOLNPAIR(MSG_IDEX_Z_OFFSET ": ", hotend_offset[Z_AXIS][active_extruder]);
49
-        }
50
-    #else
39
+    if (true
40
+      #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
41
+        && active_extruder == 0
42
+      #endif
43
+    ) {
51 44
       zprobe_zoffset += offs;
52 45
       SERIAL_ECHO_START();
53 46
       SERIAL_ECHOLNPAIR(MSG_PROBE_Z_OFFSET ": ", zprobe_zoffset);
47
+    }
48
+    #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
49
+      else {
50
+        hotend_offset[Z_AXIS][active_extruder] -= offs;
51
+        SERIAL_ECHO_START();
52
+        SERIAL_ECHOLNPAIR(MSG_IDEX_Z_OFFSET ": ", hotend_offset[Z_AXIS][active_extruder]);
53
+      }
54 54
     #endif
55
-
56 55
   }
56
+
57 57
 #endif
58 58
 
59 59
 /**

+ 7
- 2
Marlin/src/inc/SanityCheck.h 查看文件

@@ -312,12 +312,15 @@
312 312
 #define BOARD_MKS_13     -47
313 313
 #define BOARD_TRIGORILLA -343
314 314
 #define BOARD_RURAMPS4D  -1550
315
+#define BOARD_FORMBOT_TREX2 -81
315 316
 #if MB(MKS_13)
316 317
   #error "BOARD_MKS_13 has been renamed BOARD_MKS_GEN_13. Please update your configuration."
317
-#elif MB(BOARD_TRIGORILLA)
318
+#elif MB(TRIGORILLA)
318 319
   #error "BOARD_TRIGORILLA has been renamed BOARD_TRIGORILLA_13. Please update your configuration."
319
-#elif MB(BOARD_RURAMPS4D)
320
+#elif MB(RURAMPS4D)
320 321
   #error "BOARD_RURAMPS4D has been renamed BOARD_RURAMPS4D_11. Please update your configuration."
322
+#elif MB(FORMBOT_TREX2)
323
+  #error "FORMBOT_TREX2 has been renamed BOARD_FORMBOT_TREX2PLUS. Please update your configuration."
321 324
 #endif
322 325
 
323 326
 /**
@@ -515,6 +518,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
515 518
     #error "BABYSTEP_ZPROBE_GFX_OVERLAY requires a Graphical LCD."
516 519
   #elif ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) && DISABLED(BABYSTEP_ZPROBE_OFFSET)
517 520
     #error "BABYSTEP_ZPROBE_GFX_OVERLAY requires a BABYSTEP_ZPROBE_OFFSET."
521
+  #elif ENABLED(BABYSTEP_HOTEND_Z_OFFSET) && !HAS_HOTEND_OFFSET
522
+    #error "BABYSTEP_HOTEND_Z_OFFSET requires 2 or more HOTENDS."
518 523
   #endif
519 524
 #endif
520 525
 

+ 22
- 18
Marlin/src/lcd/ultralcd.cpp 查看文件

@@ -1310,42 +1310,46 @@ void lcd_quick_feedback(const bool clear_buttons) {
1310 1310
       void lcd_babystep_zoffset() {
1311 1311
         if (use_click()) { return lcd_goto_previous_menu_no_defer(); }
1312 1312
         defer_return_to_status = true;
1313
+        #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
1314
+          const bool do_probe = (active_extruder == 0);
1315
+        #else
1316
+          constexpr bool do_probe = true;
1317
+        #endif
1313 1318
         ENCODER_DIRECTION_NORMAL();
1314 1319
         if (encoderPosition) {
1315 1320
           const int16_t babystep_increment = (int32_t)encoderPosition * (BABYSTEP_MULTIPLICATOR);
1316 1321
           encoderPosition = 0;
1317 1322
 
1318
-          const float new_zoffset = zprobe_zoffset + planner.steps_to_mm[Z_AXIS] * babystep_increment;
1319
-          if (WITHIN(new_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX)) {
1323
+          const float diff = planner.steps_to_mm[Z_AXIS] * babystep_increment,
1324
+                      new_probe_offset = zprobe_zoffset + diff,
1325
+                      new_offs =
1326
+                        #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
1327
+                          do_probe ? new_probe_offset : hotend_offset[Z_AXIS][active_extruder] - diff
1328
+                        #else
1329
+                          new_probe_offset
1330
+                        #endif
1331
+                      ;
1332
+          if (WITHIN(new_offs, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX)) {
1320 1333
 
1334
+            thermalManager.babystep_axis(Z_AXIS, babystep_increment);
1321 1335
 
1336
+            if (do_probe) zprobe_zoffset = new_offs;
1322 1337
             #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
1323
-              if (active_extruder == 0)
1324
-              {
1325
-                thermalManager.babystep_axis(Z_AXIS, babystep_increment);
1326
-                zprobe_zoffset = new_zoffset;
1327
-              } else {
1328
-                  thermalManager.babystep_axis(Z_AXIS, babystep_increment);
1329
-                  hotend_offset[Z_AXIS][active_extruder] -= (planner.steps_to_mm[Z_AXIS] * babystep_increment);
1330
-                }
1331
-            #else
1332
-              zprobe_zoffset = new_zoffset;
1338
+              else hotend_offset[Z_AXIS][active_extruder] = new_offs;
1333 1339
             #endif
1340
+
1334 1341
             lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT;
1335 1342
           }
1336 1343
         }
1337 1344
         if (lcdDrawUpdate) {
1338 1345
           #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
1339
-            if (active_extruder == 0) {
1346
+            if (do_probe)
1340 1347
               lcd_implementation_drawedit(PSTR(MSG_ZPROBE_ZOFFSET), ftostr43sign(zprobe_zoffset));
1341
-            } else {
1348
+            else
1342 1349
               lcd_implementation_drawedit(PSTR(MSG_IDEX_Z_OFFSET), ftostr43sign(hotend_offset[Z_AXIS][active_extruder]));
1343
-            }
1344 1350
           #endif
1345 1351
           #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
1346
-            if (active_extruder == 0) {
1347
-              _lcd_zoffset_overlay_gfx(zprobe_zoffset);
1348
-            }
1352
+            if (do_probe) _lcd_zoffset_overlay_gfx(zprobe_zoffset);
1349 1353
           #endif
1350 1354
         }
1351 1355
       }

+ 6
- 6
Marlin/src/module/configuration_store.cpp 查看文件

@@ -495,12 +495,12 @@ void MarlinSettings::postprocess() {
495 495
       for (uint8_t q = mesh_num_x * mesh_num_y; q--;) EEPROM_WRITE(dummy);
496 496
     #endif // MESH_BED_LEVELING
497 497
 
498
+    _FIELD_TEST(zprobe_zoffset);
499
+
498 500
     #if !HAS_BED_PROBE
499 501
       const float zprobe_zoffset = 0;
500 502
     #endif
501
-
502
-      _FIELD_TEST(zprobe_zoffset);
503
-      EEPROM_WRITE(zprobe_zoffset);
503
+    EEPROM_WRITE(zprobe_zoffset);
504 504
 
505 505
     //
506 506
     // Planar Bed Leveling matrix
@@ -1181,12 +1181,12 @@ void MarlinSettings::postprocess() {
1181 1181
         for (uint16_t q = mesh_num_x * mesh_num_y; q--;) EEPROM_READ(dummy);
1182 1182
       #endif // MESH_BED_LEVELING
1183 1183
 
1184
+      _FIELD_TEST(zprobe_zoffset);
1185
+
1184 1186
       #if !HAS_BED_PROBE
1185 1187
         float zprobe_zoffset;
1186 1188
       #endif
1187
-
1188
-        _FIELD_TEST(zprobe_zoffset);
1189
-        EEPROM_READ(zprobe_zoffset);
1189
+      EEPROM_READ(zprobe_zoffset);
1190 1190
 
1191 1191
       //
1192 1192
       // Planar Bed Leveling matrix

+ 4
- 7
Marlin/src/pins/pins_FORMBOT_TREX2PLUS.h 查看文件

@@ -143,15 +143,12 @@
143 143
 #define HEATER_BED_PIN     58
144 144
 
145 145
 #define FAN_PIN             9
146
-#if(DISABLED(FILAMENT_RUNOUT_SENSOR))
147
-  // Though defined as a fan pin, it is utilized as a dedicated laser pin by Formbot. May
148
-  // swapped plug and play with a fil;ament runout sensor.
149
-  #define FAN1_PIN            4 
150
-#endif
151
-
152 146
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
153
-  #define FIL_RUNOUT_PIN   4
147
+  #define FIL_RUNOUT_PIN    4
154 148
   //#define FIL_RUNOUT2_PIN  -1
149
+#else
150
+  // Though defined as a fan pin, it is utilized as a dedicated laser pin by Formbot.
151
+  #define FAN1_PIN          4
155 152
 #endif
156 153
 
157 154
 //

+ 1
- 1
buildroot/share/tests/megaatmega2560_tests 查看文件

@@ -54,7 +54,7 @@ exec_test $1 $2 "Probeless build of AUTO_BED_LEVELING_UBL, with lots of extruder
54 54
 opt_enable Z_PROBE_SLED SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
55 55
 opt_set LCD_LANGUAGE jp-kana
56 56
 opt_disable SEGMENT_LEVELED_MOVES
57
-opt_enable_adv BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING
57
+opt_enable_adv BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_HOTEND_Z_OFFSET
58 58
 exec_test $1 $2 "Add a Sled Z Probe, use UBL Cartesian moves, use Japanese language"
59 59
 #
60 60
 # Test a Servo Probe

正在加载...
取消
保存