This commit is contained in:
Scott Lahteine 2017-12-08 03:49:33 -06:00
parent 206866ebb3
commit 728acf521c

View file

@ -527,8 +527,9 @@ static float run_z_probe() {
// Do a first probe at the fast speed
if (do_probe_move(-10, Z_PROBE_SPEED_FAST)) return NAN;
float first_probe_z = current_position[Z_AXIS];
#if ENABLED(DEBUG_LEVELING_FEATURE)
float first_probe_z = current_position[Z_AXIS];
if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPAIR("1st Probe Z:", first_probe_z);
#endif