Temporary workaround for tool-change compile error

Pending a more complete solution to tool-change Z deviation.
This commit is contained in:
Scott Lahteine 2018-03-29 17:11:05 -05:00
parent b852781eba
commit b6a55f0891

View File

@ -446,7 +446,7 @@ 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] hotend_offset[Y_AXIS][tmp_extruder] - hotend_offset[Y_AXIS][active_extruder]
}; };
#if HAS_MESH #if HAS_MESH && PLANNER_LEVELING
if (planner.leveling_active) { if (planner.leveling_active) {
#if ENABLED(DEBUG_LEVELING_FEATURE) #if ENABLED(DEBUG_LEVELING_FEATURE)
@ -464,7 +464,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
#endif #endif
} }
#endif // HAS_MESH #endif // HAS_MESH && PLANNER_LEVELING
#endif // !HAS_ABL #endif // !HAS_ABL