Browse Source

Z correction on tool-change for all HAS_MESH (#10199)

Scott Lahteine 7 years ago
parent
commit
bb7236a750
No account linked to committer's email address
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/module/tool_change.cpp

+ 3
- 3
Marlin/src/module/tool_change.cpp View File

@@ -446,11 +446,11 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
446 446
               hotend_offset[Y_AXIS][tmp_extruder] - hotend_offset[Y_AXIS][active_extruder]
447 447
             };
448 448
 
449
-            #if ENABLED(MESH_BED_LEVELING)
449
+            #if HAS_MESH
450 450
 
451 451
               if (planner.leveling_active) {
452 452
                 #if ENABLED(DEBUG_LEVELING_FEATURE)
453
-                  if (DEBUGGING(LEVELING)) SERIAL_ECHOPAIR("Z before MBL: ", current_position[Z_AXIS]);
453
+                  if (DEBUGGING(LEVELING)) SERIAL_ECHOPAIR("Z before: ", current_position[Z_AXIS]);
454 454
                 #endif
455 455
                 float x2 = current_position[X_AXIS] + xydiff[X_AXIS],
456 456
                       y2 = current_position[Y_AXIS] + xydiff[Y_AXIS],
@@ -464,7 +464,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
464 464
                 #endif
465 465
               }
466 466
 
467
-            #endif // MESH_BED_LEVELING
467
+            #endif // HAS_MESH
468 468
 
469 469
           #endif // !HAS_ABL
470 470
 

Loading…
Cancel
Save