Browse Source

Z Endstop Servo => Z Probe Servo

Scott Lahteine 7 years ago
parent
commit
adcb87f0db
73 changed files with 103 additions and 101 deletions
  1. 2
    2
      .travis.yml
  2. 1
    1
      Marlin/Configuration.h
  3. 1
    1
      Marlin/src/Marlin.cpp
  4. 1
    1
      Marlin/src/config/default/Configuration.h
  5. 1
    1
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  6. 1
    1
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  7. 1
    1
      Marlin/src/config/examples/Anet/A6/Configuration.h
  8. 1
    1
      Marlin/src/config/examples/Anet/A8/Configuration.h
  9. 1
    1
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  10. 1
    1
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  11. 1
    1
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  12. 1
    1
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  13. 1
    1
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  14. 1
    1
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  15. 1
    1
      Marlin/src/config/examples/Cartesio/Configuration.h
  16. 1
    1
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  17. 1
    1
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  18. 1
    1
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  19. 1
    1
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  20. 1
    1
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  21. 1
    1
      Marlin/src/config/examples/Felix/Configuration.h
  22. 1
    1
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  23. 1
    1
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  24. 1
    1
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  25. 1
    1
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  26. 1
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  27. 1
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  28. 1
    1
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  29. 1
    1
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  30. 1
    1
      Marlin/src/config/examples/MakerParts/Configuration.h
  31. 1
    1
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  32. 1
    1
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  33. 1
    1
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  34. 1
    1
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  35. 1
    1
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  36. 1
    1
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  37. 1
    1
      Marlin/src/config/examples/RigidBot/Configuration.h
  38. 1
    1
      Marlin/src/config/examples/SCARA/Configuration.h
  39. 1
    1
      Marlin/src/config/examples/STM32F10/Configuration.h
  40. 1
    1
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  41. 1
    1
      Marlin/src/config/examples/TheBorg/Configuration.h
  42. 1
    1
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  43. 1
    1
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  44. 1
    1
      Marlin/src/config/examples/Tronxy/X5S/Configuration.h
  45. 1
    1
      Marlin/src/config/examples/Tronxy/XY100/Configuration.h
  46. 1
    1
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
  47. 1
    1
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  48. 1
    1
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  49. 1
    1
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  50. 1
    1
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
  51. 1
    1
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  52. 1
    1
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  53. 1
    1
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
  54. 1
    1
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  55. 1
    1
      Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
  56. 1
    1
      Marlin/src/config/examples/delta/generic/Configuration.h
  57. 1
    1
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  58. 1
    1
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  59. 1
    1
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  60. 1
    1
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  61. 1
    1
      Marlin/src/config/examples/makibox/Configuration.h
  62. 1
    1
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  63. 1
    1
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  64. 1
    1
      Marlin/src/config/examples/wt150/Configuration.h
  65. 1
    1
      Marlin/src/core/utility.cpp
  66. 5
    5
      Marlin/src/gcode/config/M43.cpp
  67. 5
    5
      Marlin/src/inc/Conditionals_LCD.h
  68. 2
    2
      Marlin/src/inc/Conditionals_post.h
  69. 9
    7
      Marlin/src/inc/SanityCheck.h
  70. 6
    6
      Marlin/src/lcd/ultralcd.cpp
  71. 6
    6
      Marlin/src/module/probe.cpp
  72. 1
    1
      Marlin/src/module/probe.h
  73. 3
    3
      Marlin/src/module/servo.h

+ 2
- 2
.travis.yml View File

99
   # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
99
   # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
100
   #
100
   #
101
   - restore_configs
101
   - restore_configs
102
-  - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
102
+  - opt_enable NUM_SERVOS Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
103
   - opt_set NUM_SERVOS 1
103
   - opt_set NUM_SERVOS 1
104
   - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
104
   - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
105
   - opt_enable_adv NO_VOLUMETRICS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
105
   - opt_enable_adv NO_VOLUMETRICS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
376
   # Test a Servo Probe
376
   # Test a Servo Probe
377
   #
377
   #
378
   - restore_configs
378
   - restore_configs
379
-  - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
379
+  - opt_enable NUM_SERVOS Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
380
   - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
380
   - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
381
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
381
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
382
   #
382
   #

+ 1
- 1
Marlin/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/Marlin.cpp View File

754
     servo_init();
754
     servo_init();
755
   #endif
755
   #endif
756
 
756
 
757
-  #if HAS_Z_SERVO_ENDSTOP
757
+  #if HAS_Z_SERVO_PROBE
758
     servo_probe_init();
758
     servo_probe_init();
759
   #endif
759
   #endif
760
 
760
 

+ 1
- 1
Marlin/src/config/default/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h View File

687
 /**
687
 /**
688
  * Z Servo Probe, such as an endstop switch on a rotating arm.
688
  * Z Servo Probe, such as an endstop switch on a rotating arm.
689
  */
689
  */
690
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
690
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
691
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
691
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
692
 
692
 
693
 /**
693
 /**

+ 1
- 1
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/Anet/A6/Configuration.h View File

715
 /**
715
 /**
716
  * Z Servo Probe, such as an endstop switch on a rotating arm.
716
  * Z Servo Probe, such as an endstop switch on a rotating arm.
717
  */
717
  */
718
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
718
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
719
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
719
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
720
 
720
 
721
 /**
721
 /**

+ 1
- 1
Marlin/src/config/examples/Anet/A8/Configuration.h View File

674
 /**
674
 /**
675
  * Z Servo Probe, such as an endstop switch on a rotating arm.
675
  * Z Servo Probe, such as an endstop switch on a rotating arm.
676
  */
676
  */
677
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
677
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
678
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
678
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
679
 
679
 
680
 /**
680
 /**

+ 1
- 1
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/BQ/Hephestos/Configuration.h View File

655
 /**
655
 /**
656
  * Z Servo Probe, such as an endstop switch on a rotating arm.
656
  * Z Servo Probe, such as an endstop switch on a rotating arm.
657
  */
657
  */
658
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
658
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
659
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
659
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
660
 
660
 
661
 /**
661
 /**

+ 1
- 1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h View File

668
 /**
668
 /**
669
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  * Z Servo Probe, such as an endstop switch on a rotating arm.
670
  */
670
  */
671
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
672
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
673
 
673
 
674
 /**
674
 /**

+ 1
- 1
Marlin/src/config/examples/BQ/WITBOX/Configuration.h View File

655
 /**
655
 /**
656
  * Z Servo Probe, such as an endstop switch on a rotating arm.
656
  * Z Servo Probe, such as an endstop switch on a rotating arm.
657
  */
657
  */
658
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
658
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
659
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
659
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
660
 
660
 
661
 /**
661
 /**

+ 1
- 1
Marlin/src/config/examples/Cartesio/Configuration.h View File

666
 /**
666
 /**
667
  * Z Servo Probe, such as an endstop switch on a rotating arm.
667
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  */
668
  */
669
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
669
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
670
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 
671
 
672
 /**
672
 /**

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10/Configuration.h View File

677
 /**
677
 /**
678
  * Z Servo Probe, such as an endstop switch on a rotating arm.
678
  * Z Servo Probe, such as an endstop switch on a rotating arm.
679
  */
679
  */
680
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
680
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
681
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
681
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
682
 
682
 
683
 /**
683
 /**

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10S/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h View File

686
 /**
686
 /**
687
  * Z Servo Probe, such as an endstop switch on a rotating arm.
687
  * Z Servo Probe, such as an endstop switch on a rotating arm.
688
  */
688
  */
689
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
689
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
690
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
690
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
691
 
691
 
692
 /**
692
 /**

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-2/Configuration.h View File

671
 /**
671
 /**
672
  * Z Servo Probe, such as an endstop switch on a rotating arm.
672
  * Z Servo Probe, such as an endstop switch on a rotating arm.
673
  */
673
  */
674
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
674
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
675
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
675
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
676
 
676
 
677
 /**
677
 /**

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-4/Configuration.h View File

677
 /**
677
 /**
678
  * Z Servo Probe, such as an endstop switch on a rotating arm.
678
  * Z Servo Probe, such as an endstop switch on a rotating arm.
679
  */
679
  */
680
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
680
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
681
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
681
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
682
 
682
 
683
 /**
683
 /**

+ 1
- 1
Marlin/src/config/examples/Felix/Configuration.h View File

649
 /**
649
 /**
650
  * Z Servo Probe, such as an endstop switch on a rotating arm.
650
  * Z Servo Probe, such as an endstop switch on a rotating arm.
651
  */
651
  */
652
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
652
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
653
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
653
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
654
 
654
 
655
 /**
655
 /**

+ 1
- 1
Marlin/src/config/examples/Felix/DUAL/Configuration.h View File

649
 /**
649
 /**
650
  * Z Servo Probe, such as an endstop switch on a rotating arm.
650
  * Z Servo Probe, such as an endstop switch on a rotating arm.
651
  */
651
  */
652
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
652
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
653
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
653
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
654
 
654
 
655
 /**
655
 /**

+ 1
- 1
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h View File

673
 /**
673
 /**
674
  * Z Servo Probe, such as an endstop switch on a rotating arm.
674
  * Z Servo Probe, such as an endstop switch on a rotating arm.
675
  */
675
  */
676
-#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
676
+#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
677
 #define Z_SERVO_ANGLES {40,85}  // Z Servo Deploy and Stow angles
677
 #define Z_SERVO_ANGLES {40,85}  // Z Servo Deploy and Stow angles
678
 
678
 
679
 /**
679
 /**

+ 1
- 1
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h View File

682
 /**
682
 /**
683
  * Z Servo Probe, such as an endstop switch on a rotating arm.
683
  * Z Servo Probe, such as an endstop switch on a rotating arm.
684
  */
684
  */
685
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
685
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
686
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
686
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
687
 
687
 
688
 /**
688
 /**

+ 1
- 1
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 1   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 1   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {10,90}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {10,90}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h View File

683
 /**
683
 /**
684
  * Z Servo Probe, such as an endstop switch on a rotating arm.
684
  * Z Servo Probe, such as an endstop switch on a rotating arm.
685
  */
685
  */
686
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
686
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
687
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
687
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
688
 
688
 
689
 /**
689
 /**

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h View File

682
 /**
682
 /**
683
  * Z Servo Probe, such as an endstop switch on a rotating arm.
683
  * Z Servo Probe, such as an endstop switch on a rotating arm.
684
  */
684
  */
685
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
685
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
686
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
686
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
687
 
687
 
688
 /**
688
 /**

+ 1
- 1
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h View File

671
 /**
671
 /**
672
  * Z Servo Probe, such as an endstop switch on a rotating arm.
672
  * Z Servo Probe, such as an endstop switch on a rotating arm.
673
  */
673
  */
674
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
674
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
675
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
675
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
676
 
676
 
677
 /**
677
 /**

+ 1
- 1
Marlin/src/config/examples/JGAurora/A5/Configuration.h View File

679
 /**
679
 /**
680
  * Z Servo Probe, such as an endstop switch on a rotating arm.
680
  * Z Servo Probe, such as an endstop switch on a rotating arm.
681
  */
681
  */
682
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
682
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
683
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
683
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
684
 
684
 
685
 /**
685
 /**

+ 1
- 1
Marlin/src/config/examples/MakerParts/Configuration.h View File

687
 /**
687
 /**
688
  * Z Servo Probe, such as an endstop switch on a rotating arm.
688
  * Z Servo Probe, such as an endstop switch on a rotating arm.
689
  */
689
  */
690
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
690
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
691
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
691
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
692
 
692
 
693
 /**
693
 /**

+ 1
- 1
Marlin/src/config/examples/Malyan/M150/Configuration.h View File

687
 /**
687
 /**
688
  * Z Servo Probe, such as an endstop switch on a rotating arm.
688
  * Z Servo Probe, such as an endstop switch on a rotating arm.
689
  */
689
  */
690
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
690
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
691
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
691
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
692
 
692
 
693
 /**
693
 /**

+ 1
- 1
Marlin/src/config/examples/Malyan/M200/Configuration.h View File

666
 /**
666
 /**
667
  * Z Servo Probe, such as an endstop switch on a rotating arm.
667
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  */
668
  */
669
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
669
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
670
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 
671
 
672
 /**
672
 /**

+ 1
- 1
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h View File

671
 /**
671
 /**
672
  * Z Servo Probe, such as an endstop switch on a rotating arm.
672
  * Z Servo Probe, such as an endstop switch on a rotating arm.
673
  */
673
  */
674
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
674
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
675
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
675
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
676
 
676
 
677
 /**
677
 /**

+ 1
- 1
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h View File

671
 /**
671
 /**
672
  * Z Servo Probe, such as an endstop switch on a rotating arm.
672
  * Z Servo Probe, such as an endstop switch on a rotating arm.
673
  */
673
  */
674
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
674
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
675
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
675
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
676
 
676
 
677
 /**
677
 /**

+ 1
- 1
Marlin/src/config/examples/Mks/Sbase/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/RigidBot/Configuration.h View File

665
 /**
665
 /**
666
  * Z Servo Probe, such as an endstop switch on a rotating arm.
666
  * Z Servo Probe, such as an endstop switch on a rotating arm.
667
  */
667
  */
668
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
668
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
669
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
669
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
670
 
670
 
671
 /**
671
 /**

+ 1
- 1
Marlin/src/config/examples/SCARA/Configuration.h View File

678
 /**
678
 /**
679
  * Z Servo Probe, such as an endstop switch on a rotating arm.
679
  * Z Servo Probe, such as an endstop switch on a rotating arm.
680
  */
680
  */
681
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
681
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
682
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
682
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
683
 
683
 
684
 /**
684
 /**

+ 1
- 1
Marlin/src/config/examples/STM32F10/Configuration.h View File

670
 /**
670
 /**
671
  * Z Servo Probe, such as an endstop switch on a rotating arm.
671
  * Z Servo Probe, such as an endstop switch on a rotating arm.
672
  */
672
  */
673
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
673
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
674
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
674
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
675
 
675
 
676
 /**
676
 /**

+ 1
- 1
Marlin/src/config/examples/Sanguinololu/Configuration.h View File

698
 /**
698
 /**
699
  * Z Servo Probe, such as an endstop switch on a rotating arm.
699
  * Z Servo Probe, such as an endstop switch on a rotating arm.
700
  */
700
  */
701
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
701
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
702
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
702
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
703
 
703
 
704
 /**
704
 /**

+ 1
- 1
Marlin/src/config/examples/TheBorg/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/TinyBoy2/Configuration.h View File

718
 /**
718
 /**
719
  * Z Servo Probe, such as an endstop switch on a rotating arm.
719
  * Z Servo Probe, such as an endstop switch on a rotating arm.
720
  */
720
  */
721
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
721
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
722
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
722
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
723
 
723
 
724
 /**
724
 /**

+ 1
- 1
Marlin/src/config/examples/Tronxy/X1/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/Tronxy/X5S/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/Tronxy/XY100/Configuration.h View File

678
 /**
678
 /**
679
  * Z Servo Probe, such as an endstop switch on a rotating arm.
679
  * Z Servo Probe, such as an endstop switch on a rotating arm.
680
  */
680
  */
681
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
681
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
682
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
682
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
683
 
683
 
684
 /**
684
 /**

+ 1
- 1
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/Velleman/K8200/Configuration.h View File

696
 /**
696
 /**
697
  * Z Servo Probe, such as an endstop switch on a rotating arm.
697
  * Z Servo Probe, such as an endstop switch on a rotating arm.
698
  */
698
  */
699
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
699
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
700
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
700
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
701
 
701
 
702
 /**
702
 /**

+ 1
- 1
Marlin/src/config/examples/Velleman/K8400/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h View File

677
 /**
677
 /**
678
  * Z Servo Probe, such as an endstop switch on a rotating arm.
678
  * Z Servo Probe, such as an endstop switch on a rotating arm.
679
  */
679
  */
680
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
680
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
681
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
681
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
682
 
682
 
683
 /**
683
 /**

+ 1
- 1
Marlin/src/config/examples/adafruit/ST7565/Configuration.h View File

667
 /**
667
 /**
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
668
  * Z Servo Probe, such as an endstop switch on a rotating arm.
669
  */
669
  */
670
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
670
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
671
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
672
 
672
 
673
 /**
673
 /**

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h View File

747
 /**
747
 /**
748
  * Z Servo Probe, such as an endstop switch on a rotating arm.
748
  * Z Servo Probe, such as an endstop switch on a rotating arm.
749
  */
749
  */
750
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
750
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
751
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
751
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
752
 
752
 
753
 /**
753
 /**

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h View File

747
 /**
747
 /**
748
  * Z Servo Probe, such as an endstop switch on a rotating arm.
748
  * Z Servo Probe, such as an endstop switch on a rotating arm.
749
  */
749
  */
750
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
750
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
751
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
751
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
752
 
752
 
753
 /**
753
 /**

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h View File

747
 /**
747
 /**
748
  * Z Servo Probe, such as an endstop switch on a rotating arm.
748
  * Z Servo Probe, such as an endstop switch on a rotating arm.
749
  */
749
  */
750
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
750
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
751
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
751
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
752
 
752
 
753
 /**
753
 /**

+ 1
- 1
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h View File

752
 /**
752
 /**
753
  * Z Servo Probe, such as an endstop switch on a rotating arm.
753
  * Z Servo Probe, such as an endstop switch on a rotating arm.
754
  */
754
  */
755
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
755
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
756
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
756
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
757
 
757
 
758
 /**
758
 /**

+ 1
- 1
Marlin/src/config/examples/delta/generic/Configuration.h View File

737
 /**
737
 /**
738
  * Z Servo Probe, such as an endstop switch on a rotating arm.
738
  * Z Servo Probe, such as an endstop switch on a rotating arm.
739
  */
739
  */
740
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
740
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
741
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
741
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
742
 
742
 
743
 /**
743
 /**

+ 1
- 1
Marlin/src/config/examples/delta/kossel_mini/Configuration.h View File

737
 /**
737
 /**
738
  * Z Servo Probe, such as an endstop switch on a rotating arm.
738
  * Z Servo Probe, such as an endstop switch on a rotating arm.
739
  */
739
  */
740
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
740
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
741
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
741
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
742
 
742
 
743
 /**
743
 /**

+ 1
- 1
Marlin/src/config/examples/delta/kossel_pro/Configuration.h View File

730
 /**
730
 /**
731
  * Z Servo Probe, such as an endstop switch on a rotating arm.
731
  * Z Servo Probe, such as an endstop switch on a rotating arm.
732
  */
732
  */
733
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
733
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
734
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
734
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
735
 
735
 
736
 /**
736
 /**

+ 1
- 1
Marlin/src/config/examples/delta/kossel_xl/Configuration.h View File

749
 /**
749
 /**
750
  * Z Servo Probe, such as an endstop switch on a rotating arm.
750
  * Z Servo Probe, such as an endstop switch on a rotating arm.
751
  */
751
  */
752
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
752
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
753
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
753
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
754
 
754
 
755
 /**
755
 /**

+ 1
- 1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h View File

680
 /**
680
 /**
681
  * Z Servo Probe, such as an endstop switch on a rotating arm.
681
  * Z Servo Probe, such as an endstop switch on a rotating arm.
682
  */
682
  */
683
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
683
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
684
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
684
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
685
 
685
 
686
 /**
686
 /**

+ 1
- 1
Marlin/src/config/examples/makibox/Configuration.h View File

670
 /**
670
 /**
671
  * Z Servo Probe, such as an endstop switch on a rotating arm.
671
  * Z Servo Probe, such as an endstop switch on a rotating arm.
672
  */
672
  */
673
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
673
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
674
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
674
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
675
 
675
 
676
 /**
676
 /**

+ 1
- 1
Marlin/src/config/examples/stm32f103ret6/Configuration.h View File

669
 /**
669
 /**
670
  * Z Servo Probe, such as an endstop switch on a rotating arm.
670
  * Z Servo Probe, such as an endstop switch on a rotating arm.
671
  */
671
  */
672
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
672
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
673
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
673
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
674
 
674
 
675
 /**
675
 /**

+ 1
- 1
Marlin/src/config/examples/tvrrug/Round2/Configuration.h View File

662
 /**
662
 /**
663
  * Z Servo Probe, such as an endstop switch on a rotating arm.
663
  * Z Servo Probe, such as an endstop switch on a rotating arm.
664
  */
664
  */
665
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
665
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
666
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
666
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
667
 
667
 
668
 /**
668
 /**

+ 1
- 1
Marlin/src/config/examples/wt150/Configuration.h View File

672
 /**
672
 /**
673
  * Z Servo Probe, such as an endstop switch on a rotating arm.
673
  * Z Servo Probe, such as an endstop switch on a rotating arm.
674
  */
674
  */
675
-//#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
675
+//#define Z_PROBE_SERVO_NR 0   // Defaults to SERVO 0 connector.
676
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
676
 //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles
677
 
677
 
678
 /**
678
 /**

+ 1
- 1
Marlin/src/core/utility.cpp View File

283
       SERIAL_ECHOLNPGM("FIX_MOUNTED_PROBE");
283
       SERIAL_ECHOLNPGM("FIX_MOUNTED_PROBE");
284
     #elif ENABLED(BLTOUCH)
284
     #elif ENABLED(BLTOUCH)
285
       SERIAL_ECHOLNPGM("BLTOUCH");
285
       SERIAL_ECHOLNPGM("BLTOUCH");
286
-    #elif HAS_Z_SERVO_ENDSTOP
286
+    #elif HAS_Z_SERVO_PROBE
287
       SERIAL_ECHOLNPGM("SERVO PROBE");
287
       SERIAL_ECHOLNPGM("SERVO PROBE");
288
     #elif ENABLED(Z_PROBE_SLED)
288
     #elif ENABLED(Z_PROBE_SLED)
289
       SERIAL_ECHOLNPGM("Z_PROBE_SLED");
289
       SERIAL_ECHOLNPGM("Z_PROBE_SLED");

+ 5
- 5
Marlin/src/gcode/config/M43.cpp View File

29
 #include "../../pins/pinsDebug.h"
29
 #include "../../pins/pinsDebug.h"
30
 #include "../../module/endstops.h"
30
 #include "../../module/endstops.h"
31
 
31
 
32
-#if HAS_Z_SERVO_ENDSTOP
32
+#if HAS_Z_SERVO_PROBE
33
   #include "../../module/probe.h"
33
   #include "../../module/probe.h"
34
   #include "../../module/servo.h"
34
   #include "../../module/servo.h"
35
 #endif
35
 #endif
92
     SERIAL_ERROR_START();
92
     SERIAL_ERROR_START();
93
     SERIAL_ERRORLNPGM("SERVO not setup");
93
     SERIAL_ERRORLNPGM("SERVO not setup");
94
 
94
 
95
-  #elif !HAS_Z_SERVO_ENDSTOP
95
+  #elif !HAS_Z_SERVO_PROBE
96
 
96
 
97
     SERIAL_ERROR_START();
97
     SERIAL_ERROR_START();
98
-    SERIAL_ERRORLNPGM("Z_ENDSTOP_SERVO_NR not setup");
98
+    SERIAL_ERRORLNPGM("Z_PROBE_SERVO_NR not setup");
99
 
99
 
100
-  #else // HAS_Z_SERVO_ENDSTOP
100
+  #else // HAS_Z_SERVO_PROBE
101
 
101
 
102
-    const uint8_t probe_index = parser.byteval('P', Z_ENDSTOP_SERVO_NR);
102
+    const uint8_t probe_index = parser.byteval('P', Z_PROBE_SERVO_NR);
103
 
103
 
104
     SERIAL_PROTOCOLLNPGM("Servo probe test");
104
     SERIAL_PROTOCOLLNPGM("Servo probe test");
105
     SERIAL_PROTOCOLLNPAIR(".  using index:  ", probe_index);
105
     SERIAL_PROTOCOLLNPAIR(".  using index:  ", probe_index);

+ 5
- 5
Marlin/src/inc/Conditionals_LCD.h View File

458
  * and uses "special" angles for its state.
458
  * and uses "special" angles for its state.
459
  */
459
  */
460
 #if ENABLED(BLTOUCH)
460
 #if ENABLED(BLTOUCH)
461
-  #ifndef Z_ENDSTOP_SERVO_NR
462
-    #define Z_ENDSTOP_SERVO_NR 0
461
+  #ifndef Z_PROBE_SERVO_NR
462
+    #define Z_PROBE_SERVO_NR 0
463
   #endif
463
   #endif
464
   #ifndef NUM_SERVOS
464
   #ifndef NUM_SERVOS
465
-    #define NUM_SERVOS (Z_ENDSTOP_SERVO_NR + 1)
465
+    #define NUM_SERVOS (Z_PROBE_SERVO_NR + 1)
466
   #endif
466
   #endif
467
   #undef DEACTIVATE_SERVOS_AFTER_MOVE
467
   #undef DEACTIVATE_SERVOS_AFTER_MOVE
468
   #if NUM_SERVOS == 1
468
   #if NUM_SERVOS == 1
497
 /**
497
 /**
498
  * Set a flag for a servo probe
498
  * Set a flag for a servo probe
499
  */
499
  */
500
-#define HAS_Z_SERVO_ENDSTOP (defined(Z_ENDSTOP_SERVO_NR) && Z_ENDSTOP_SERVO_NR >= 0)
500
+#define HAS_Z_SERVO_PROBE (defined(Z_PROBE_SERVO_NR) && Z_PROBE_SERVO_NR >= 0)
501
 
501
 
502
 /**
502
 /**
503
  * Set a flag for any enabled probe
503
  * Set a flag for any enabled probe
504
  */
504
  */
505
-#define PROBE_SELECTED (ENABLED(PROBE_MANUALLY) || ENABLED(FIX_MOUNTED_PROBE) || ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED) || ENABLED(SOLENOID_PROBE))
505
+#define PROBE_SELECTED (ENABLED(PROBE_MANUALLY) || ENABLED(FIX_MOUNTED_PROBE) || ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_PROBE || ENABLED(Z_PROBE_SLED) || ENABLED(SOLENOID_PROBE))
506
 
506
 
507
 /**
507
 /**
508
  * Clear probe pin settings when no probe is selected
508
  * Clear probe pin settings when no probe is selected

+ 2
- 2
Marlin/src/inc/Conditionals_post.h View File

901
  */
901
  */
902
 
902
 
903
 #if HAS_SERVOS
903
 #if HAS_SERVOS
904
-  #ifndef Z_ENDSTOP_SERVO_NR
905
-    #define Z_ENDSTOP_SERVO_NR -1
904
+  #ifndef Z_PROBE_SERVO_NR
905
+    #define Z_PROBE_SERVO_NR -1
906
   #endif
906
   #endif
907
 #endif
907
 #endif
908
 
908
 

+ 9
- 7
Marlin/src/inc/SanityCheck.h View File

95
   #error "SERVO_ENDSTOP_ANGLES is deprecated. Use Z_SERVO_ANGLES instead."
95
   #error "SERVO_ENDSTOP_ANGLES is deprecated. Use Z_SERVO_ANGLES instead."
96
 #elif defined(X_ENDSTOP_SERVO_NR) || defined(Y_ENDSTOP_SERVO_NR)
96
 #elif defined(X_ENDSTOP_SERVO_NR) || defined(Y_ENDSTOP_SERVO_NR)
97
   #error "X_ENDSTOP_SERVO_NR and Y_ENDSTOP_SERVO_NR are deprecated and should be removed."
97
   #error "X_ENDSTOP_SERVO_NR and Y_ENDSTOP_SERVO_NR are deprecated and should be removed."
98
+#elif defined(Z_ENDSTOP_SERVO_NR)
99
+  #error "Z_ENDSTOP_SERVO_NR is now Z_PROBE_SERVO_NR. Please update your configuration."
98
 #elif defined(DEFAULT_XYJERK)
100
 #elif defined(DEFAULT_XYJERK)
99
   #error "DEFAULT_XYJERK is deprecated. Use DEFAULT_XJERK and DEFAULT_YJERK instead."
101
   #error "DEFAULT_XYJERK is deprecated. Use DEFAULT_XJERK and DEFAULT_YJERK instead."
100
 #elif defined(XY_TRAVEL_SPEED)
102
 #elif defined(XY_TRAVEL_SPEED)
630
 /**
632
 /**
631
  * Servo deactivation depends on servo endstops, switching nozzle, or switching extruder
633
  * Servo deactivation depends on servo endstops, switching nozzle, or switching extruder
632
  */
634
  */
633
-#if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_Z_SERVO_ENDSTOP && !defined(SWITCHING_NOZZLE_SERVO_NR) && !defined(SWITCHING_EXTRUDER_SERVO_NR)
634
-  #error "Z_ENDSTOP_SERVO_NR, switching nozzle, or switching extruder is required for DEACTIVATE_SERVOS_AFTER_MOVE."
635
+#if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_Z_SERVO_PROBE && !defined(SWITCHING_NOZZLE_SERVO_NR) && !defined(SWITCHING_EXTRUDER_SERVO_NR)
636
+  #error "Z_PROBE_SERVO_NR, switching nozzle, or switching extruder is required for DEACTIVATE_SERVOS_AFTER_MOVE."
635
 #endif
637
 #endif
636
 
638
 
637
 /**
639
 /**
697
 #if 1 < 0 \
699
 #if 1 < 0 \
698
   + ENABLED(PROBE_MANUALLY) \
700
   + ENABLED(PROBE_MANUALLY) \
699
   + ENABLED(FIX_MOUNTED_PROBE) \
701
   + ENABLED(FIX_MOUNTED_PROBE) \
700
-  + (HAS_Z_SERVO_ENDSTOP && DISABLED(BLTOUCH)) \
702
+  + (HAS_Z_SERVO_PROBE && DISABLED(BLTOUCH)) \
701
   + ENABLED(BLTOUCH) \
703
   + ENABLED(BLTOUCH) \
702
   + ENABLED(SOLENOID_PROBE) \
704
   + ENABLED(SOLENOID_PROBE) \
703
   + ENABLED(Z_PROBE_ALLEN_KEY) \
705
   + ENABLED(Z_PROBE_ALLEN_KEY) \
728
   /**
730
   /**
729
    * NUM_SERVOS is required for a Z servo probe
731
    * NUM_SERVOS is required for a Z servo probe
730
    */
732
    */
731
-  #if HAS_Z_SERVO_ENDSTOP
733
+  #if HAS_Z_SERVO_PROBE
732
     #ifndef NUM_SERVOS
734
     #ifndef NUM_SERVOS
733
-      #error "You must set NUM_SERVOS for a Z servo probe (Z_ENDSTOP_SERVO_NR)."
734
-    #elif Z_ENDSTOP_SERVO_NR >= NUM_SERVOS
735
-      #error "Z_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS."
735
+      #error "You must set NUM_SERVOS for a Z servo probe (Z_PROBE_SERVO_NR)."
736
+    #elif Z_PROBE_SERVO_NR >= NUM_SERVOS
737
+      #error "Z_PROBE_SERVO_NR must be smaller than NUM_SERVOS."
736
     #endif
738
     #endif
737
   #endif
739
   #endif
738
 
740
 

+ 6
- 6
Marlin/src/lcd/ultralcd.cpp View File

893
       // ^ Main
893
       // ^ Main
894
       //
894
       //
895
       MENU_BACK(MSG_MAIN);
895
       MENU_BACK(MSG_MAIN);
896
-      MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
897
-      MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
898
-      MENU_ITEM(gcode, MSG_BLTOUCH_DEPLOY, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_DEPLOY)));
899
-      MENU_ITEM(gcode, MSG_BLTOUCH_STOW, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_STOW)));
896
+      MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
897
+      MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
898
+      MENU_ITEM(gcode, MSG_BLTOUCH_DEPLOY, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_DEPLOY)));
899
+      MENU_ITEM(gcode, MSG_BLTOUCH_STOW, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_STOW)));
900
       END_MENU();
900
       END_MENU();
901
     }
901
     }
902
 
902
 
2686
     // BLTouch Self-Test and Reset
2686
     // BLTouch Self-Test and Reset
2687
     //
2687
     //
2688
     #if ENABLED(BLTOUCH)
2688
     #if ENABLED(BLTOUCH)
2689
-      MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
2689
+      MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
2690
       if (!endstops.z_probe_enabled && TEST_BLTOUCH())
2690
       if (!endstops.z_probe_enabled && TEST_BLTOUCH())
2691
-        MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
2691
+        MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
2692
     #endif
2692
     #endif
2693
 
2693
 
2694
     //
2694
     //

+ 6
- 6
Marlin/src/module/probe.cpp View File

52
 
52
 
53
 float zprobe_zoffset; // Initialized by settings.load()
53
 float zprobe_zoffset; // Initialized by settings.load()
54
 
54
 
55
-#if HAS_Z_SERVO_ENDSTOP
55
+#if HAS_Z_SERVO_PROBE
56
   #include "../module/servo.h"
56
   #include "../module/servo.h"
57
   const int z_servo_angle[2] = Z_SERVO_ANGLES;
57
   const int z_servo_angle[2] = Z_SERVO_ANGLES;
58
 #endif
58
 #endif
299
 #if ENABLED(BLTOUCH)
299
 #if ENABLED(BLTOUCH)
300
 
300
 
301
   void bltouch_command(const int angle) {
301
   void bltouch_command(const int angle) {
302
-    MOVE_SERVO(Z_ENDSTOP_SERVO_NR, angle);  // Give the BL-Touch the command and wait
302
+    MOVE_SERVO(Z_PROBE_SERVO_NR, angle);  // Give the BL-Touch the command and wait
303
     safe_delay(BLTOUCH_DELAY);
303
     safe_delay(BLTOUCH_DELAY);
304
   }
304
   }
305
 
305
 
433
 
433
 
434
         dock_sled(!deploy);
434
         dock_sled(!deploy);
435
 
435
 
436
-      #elif HAS_Z_SERVO_ENDSTOP && DISABLED(BLTOUCH)
436
+      #elif HAS_Z_SERVO_PROBE && DISABLED(BLTOUCH)
437
 
437
 
438
-        MOVE_SERVO(Z_ENDSTOP_SERVO_NR, z_servo_angle[deploy ? 0 : 1]);
438
+        MOVE_SERVO(Z_PROBE_SERVO_NR, z_servo_angle[deploy ? 0 : 1]);
439
 
439
 
440
       #elif ENABLED(Z_PROBE_ALLEN_KEY)
440
       #elif ENABLED(Z_PROBE_ALLEN_KEY)
441
 
441
 
700
   return measured_z;
700
   return measured_z;
701
 }
701
 }
702
 
702
 
703
-#if HAS_Z_SERVO_ENDSTOP
703
+#if HAS_Z_SERVO_PROBE
704
 
704
 
705
   void servo_probe_init() {
705
   void servo_probe_init() {
706
     /**
706
     /**
715
     STOW_Z_SERVO();
715
     STOW_Z_SERVO();
716
   }
716
   }
717
 
717
 
718
-#endif // HAS_Z_SERVO_ENDSTOP
718
+#endif // HAS_Z_SERVO_PROBE
719
 
719
 
720
 #endif // HAS_BED_PROBE
720
 #endif // HAS_BED_PROBE

+ 1
- 1
Marlin/src/module/probe.h View File

48
   #define STOW_PROBE()
48
   #define STOW_PROBE()
49
 #endif
49
 #endif
50
 
50
 
51
-#if HAS_Z_SERVO_ENDSTOP
51
+#if HAS_Z_SERVO_PROBE
52
   extern const int z_servo_angle[2];
52
   extern const int z_servo_angle[2];
53
   void servo_probe_init();
53
   void servo_probe_init();
54
 #endif
54
 #endif

+ 3
- 3
Marlin/src/module/servo.h View File

36
 
36
 
37
 #include "../inc/MarlinConfig.h"
37
 #include "../inc/MarlinConfig.h"
38
 
38
 
39
-#if HAS_Z_SERVO_ENDSTOP
40
-  #define DEPLOY_Z_SERVO() MOVE_SERVO(Z_ENDSTOP_SERVO_NR, z_servo_angle[0])
41
-  #define STOW_Z_SERVO() MOVE_SERVO(Z_ENDSTOP_SERVO_NR, z_servo_angle[1])
39
+#if HAS_Z_SERVO_PROBE
40
+  #define DEPLOY_Z_SERVO() MOVE_SERVO(Z_PROBE_SERVO_NR, z_servo_angle[0])
41
+  #define STOW_Z_SERVO() MOVE_SERVO(Z_PROBE_SERVO_NR, z_servo_angle[1])
42
 #endif
42
 #endif
43
 
43
 
44
 #endif // _SERVO_H_
44
 #endif // _SERVO_H_

Loading…
Cancel
Save