Scott Lahteine 7 years ago
parent
commit
728acf521c
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Marlin/src/module/probe.cpp

+ 2
- 1
Marlin/src/module/probe.cpp View File

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

Loading…
Cancel
Save