Skip to content

Commit

Permalink
Temporary workaround for tool-change compile error
Browse files Browse the repository at this point in the history
Pending a more complete solution to tool-change Z deviation.
  • Loading branch information
thinkyhead committed Mar 29, 2018
1 parent b852781 commit b6a55f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/tool_change.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]
};

#if HAS_MESH
#if HAS_MESH && PLANNER_LEVELING

if (planner.leveling_active) {
#if ENABLED(DEBUG_LEVELING_FEATURE)
Expand All @@ -464,7 +464,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
#endif
}

#endif // HAS_MESH
#endif // HAS_MESH && PLANNER_LEVELING

#endif // !HAS_ABL

Expand Down

0 comments on commit b6a55f0

Please sign in to comment.