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

Always define old_z, not always z2

parent 5dd87d2e
No related branches found
No related tags found
Loading
......@@ -99,9 +99,10 @@ static volatile bool endstop_z_probe_hit = false; // Leaving this in even if Z_P
static bool old_y_max_endstop = false;
#endif
static bool old_z_min_endstop = false;
static bool old_z_max_endstop = false;
#ifdef Z_DUAL_ENDSTOPS
static bool old_z_min_endstop = false;
static bool old_z_max_endstop = false;
static bool old_z2_min_endstop = false;
static bool old_z2_max_endstop = false;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment