Fix declaration of old_z_probe_endstop.

This commit is contained in:
Chris Roadfeldt 2015-03-28 05:09:48 -05:00
parent 44b88b41a2
commit 92eb8109ab

View File

@ -97,9 +97,10 @@ static bool old_x_min_endstop = false,
old_z2_min_endstop = false,
old_z2_max_endstop = false;
#endif
#if defined Z_PROBE_AND_ENDSTOP
old_z_probe_endstop = false;
#endif
#ifdef Z_PROBE_AND_ENDSTOP
static bool old_z_probe_endstop = false;
#endif
static bool check_endstops = true;