Scott Lahteine vor 6 Jahren
Ursprung
Commit
8385cddd8d
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2
    1
      Marlin/Marlin_main.cpp

+ 2
- 1
Marlin/Marlin_main.cpp Datei anzeigen

@@ -2235,8 +2235,9 @@ static void clean_up_after_endstop_or_probe_move() {
2235 2235
       // Do a first probe at the fast speed
2236 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 2240
       #if ENABLED(DEBUG_LEVELING_FEATURE)
2239
-        float first_probe_z = current_position[Z_AXIS];
2240 2241
         if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPAIR("1st Probe Z:", first_probe_z);
2241 2242
       #endif
2242 2243
 

Laden…
Abbrechen
Speichern