Fixed a regression error from the last commit regarding Z homing.

Removed unused Z_LATE_ENABLE symbol.
This commit is contained in:
bubnikv 2018-01-15 12:00:28 +01:00
parent 7a972fd9b0
commit 1eac2b4ccb
2 changed files with 1 additions and 3 deletions

View file

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

View file

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