Browse Source

Temporary workaround for tool-change compile error

Pending a more complete solution to tool-change Z deviation.
pull/1/head
Scott Lahteine 7 years ago
parent
commit
b6a55f0891
  1. 4
      Marlin/src/module/tool_change.cpp

4
Marlin/src/module/tool_change.cpp

@ -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

Loading…
Cancel
Save