Fix compile error with Z_DUAL_ENDSTOPS
This commit is contained in:
@ -105,16 +105,16 @@ static volatile bool endstop_z_probe_hit = false; // Leaving this in even if Z_P
|
||||
static bool old_z_max_endstop = false;
|
||||
#endif
|
||||
#ifdef Z_DUAL_ENDSTOPS
|
||||
#if HAS_Z2_MIN
|
||||
// #if HAS_Z2_MIN
|
||||
static bool old_z2_min_endstop = false;
|
||||
#endif
|
||||
#if HAS_Z2_MAX
|
||||
// #endif
|
||||
// #if HAS_Z2_MAX
|
||||
static bool old_z2_max_endstop = false;
|
||||
#endif
|
||||
// #endif
|
||||
#endif
|
||||
|
||||
#ifdef Z_PROBE_ENDSTOP // No need to check for valid pin, SanityCheck.h already does this.
|
||||
static bool old_z_probe_endstop = false;
|
||||
static bool old_z_probe_endstop = false;
|
||||
#endif
|
||||
|
||||
static bool check_endstops = true;
|
||||
|
Reference in New Issue
Block a user