@@ -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);