Scott Lahteine 7 years ago
parent
commit
8385cddd8d
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Marlin/Marlin_main.cpp

+ 2
- 1
Marlin/Marlin_main.cpp View File

2235
       // Do a first probe at the fast speed
2235
       // Do a first probe at the fast speed
2236
       if (do_probe_move(-10, Z_PROBE_SPEED_FAST)) return NAN;
2236
       if (do_probe_move(-10, Z_PROBE_SPEED_FAST)) return NAN;
2237
 
2237
 
2238
+      float first_probe_z = current_position[Z_AXIS];
2239
+
2238
       #if ENABLED(DEBUG_LEVELING_FEATURE)
2240
       #if ENABLED(DEBUG_LEVELING_FEATURE)
2239
-        float first_probe_z = current_position[Z_AXIS];
2240
         if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPAIR("1st Probe Z:", first_probe_z);
2241
         if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPAIR("1st Probe Z:", first_probe_z);
2241
       #endif
2242
       #endif
2242
 
2243
 

Loading…
Cancel
Save