Skip to content
Snippets Groups Projects
Commit 5dd87d2e authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Enable all old_z_*_endstop vars for Z_DUAL_ENDSTOPS

- Potentially addressing #1911
parent 3f02da64
Branches
Tags
No related merge requests found
...@@ -98,19 +98,12 @@ static volatile bool endstop_z_probe_hit = false; // Leaving this in even if Z_P ...@@ -98,19 +98,12 @@ static volatile bool endstop_z_probe_hit = false; // Leaving this in even if Z_P
#if HAS_Y_MAX #if HAS_Y_MAX
static bool old_y_max_endstop = false; static bool old_y_max_endstop = false;
#endif #endif
#if HAS_Z_MIN
#ifdef Z_DUAL_ENDSTOPS
static bool old_z_min_endstop = false; static bool old_z_min_endstop = false;
#endif
#if HAS_Z_MAX
static bool old_z_max_endstop = false; static bool old_z_max_endstop = false;
#endif
#ifdef Z_DUAL_ENDSTOPS
// #if HAS_Z2_MIN
static bool old_z2_min_endstop = false; static bool old_z2_min_endstop = false;
// #endif
// #if HAS_Z2_MAX
static bool old_z2_max_endstop = false; 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. #ifdef Z_PROBE_ENDSTOP // No need to check for valid pin, SanityCheck.h already does this.
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment