Fixed a regression error from the last commit regarding Z homing.
Removed unused Z_LATE_ENABLE symbol.
This commit is contained in:
parent
7a972fd9b0
commit
1eac2b4ccb
2 changed files with 1 additions and 3 deletions
|
@ -127,8 +127,6 @@
|
|||
//END AUTOSET LOCATIONS OF LIMIT SWITCHES -ZP
|
||||
|
||||
|
||||
//#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
|
||||
|
||||
// A single Z stepper driver is usually used to drive 2 stepper motors.
|
||||
// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
|
||||
// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
|
||||
|
|
|
@ -545,7 +545,7 @@ FORCE_INLINE void stepper_check_endstops()
|
|||
if ((out_bits & (1<<Z_AXIS)) != 0) // -direction
|
||||
{
|
||||
#if defined(Z_MIN_PIN) && (Z_MIN_PIN > -1) && !defined(DEBUG_DISABLE_ZMINLIMIT)
|
||||
if (check_z_endstop) {
|
||||
if (! check_z_endstop) {
|
||||
#ifdef TMC2130_SG_HOMING
|
||||
// Stall guard homing turned on
|
||||
z_min_endstop = (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING) || (READ(Z_TMC2130_DIAG) != 0);
|
||||
|
|
Loading…
Reference in a new issue