From 2c79faede9ce49357404e68a3cf8b8b566f6590c Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 23 Mar 2018 13:11:51 -0500 Subject: [PATCH] Z correction on tool-change for all HAS_MESH (#10198) --- Marlin/Marlin_main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 27a569edd3..3c5eaf4542 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -11554,11 +11554,11 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n hotend_offset[Y_AXIS][tmp_extruder] - hotend_offset[Y_AXIS][active_extruder] }; - #if ENABLED(MESH_BED_LEVELING) + #if HAS_MESH if (planner.leveling_active) { #if ENABLED(DEBUG_LEVELING_FEATURE) - if (DEBUGGING(LEVELING)) SERIAL_ECHOPAIR("Z before MBL: ", current_position[Z_AXIS]); + if (DEBUGGING(LEVELING)) SERIAL_ECHOPAIR("Z before: ", current_position[Z_AXIS]); #endif float x2 = current_position[X_AXIS] + xydiff[X_AXIS], y2 = current_position[Y_AXIS] + xydiff[Y_AXIS], @@ -11572,7 +11572,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n #endif } - #endif // MESH_BED_LEVELING + #endif // HAS_MESH #endif // !HAS_ABL