Fix BLTOUCH string and SERVO_DELAY
This commit is contained in:
parent
2b7cc27c37
commit
145d9005d1
|
@ -328,13 +328,15 @@
|
||||||
#define NUM_SERVOS (Z_ENDSTOP_SERVO_NR + 1)
|
#define NUM_SERVOS (Z_ENDSTOP_SERVO_NR + 1)
|
||||||
#endif
|
#endif
|
||||||
#undef DEACTIVATE_SERVOS_AFTER_MOVE
|
#undef DEACTIVATE_SERVOS_AFTER_MOVE
|
||||||
|
#undef SERVO_DELAY
|
||||||
|
#define SERVO_DELAY 50
|
||||||
#undef Z_SERVO_ANGLES
|
#undef Z_SERVO_ANGLES
|
||||||
#define Z_SERVO_ANGLES { BLTOUCH_DEPLOY, BLTOUCH_STOW }
|
#define Z_SERVO_ANGLES { BLTOUCH_DEPLOY, BLTOUCH_STOW }
|
||||||
|
|
||||||
#define BLTOUCH_DEPLOY 10
|
#define BLTOUCH_DEPLOY 10
|
||||||
#define BLTOUCH_STOW 90
|
#define BLTOUCH_STOW 90
|
||||||
#define BLTOUCH_SELFTEST 120
|
#define BLTOUCH_SELFTEST 120
|
||||||
#define BLTOUCH_RELEASE 160
|
#define BLTOUCH_RESET 160
|
||||||
#define _TEST_BLTOUCH(P) (READ(P##_PIN) != P##_ENDSTOP_INVERTING)
|
#define _TEST_BLTOUCH(P) (READ(P##_PIN) != P##_ENDSTOP_INVERTING)
|
||||||
|
|
||||||
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
|
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
|
||||||
|
|
|
@ -1253,7 +1253,7 @@ void kill_screen(const char* lcd_msg) {
|
||||||
// BLTouch Self-Test and Reset
|
// BLTouch Self-Test and Reset
|
||||||
//
|
//
|
||||||
#if ENABLED(BLTOUCH)
|
#if ENABLED(BLTOUCH)
|
||||||
MENU_ITEM(gcode, MSG_BLTOUCH_TEST, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
|
MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
|
||||||
if (!endstops.z_probe_enabled && TEST_BLTOUCH())
|
if (!endstops.z_probe_enabled && TEST_BLTOUCH())
|
||||||
MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
|
MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_ENDSTOP_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue