Fix parking_extruder_tool_change

Fix #11872
This commit is contained in:
Scott Lahteine 2018-09-19 03:03:47 -05:00
parent 5b8dc39506
commit e85117a6cd

View File

@ -12316,7 +12316,7 @@ inline void invalid_extruder_error(const uint8_t e) {
#if ENABLED(PARKING_EXTRUDER)
inline void parking_extruder_tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool no_move/*=false*/) {
inline void parking_extruder_tool_change(const uint8_t tmp_extruder, bool no_move) {
constexpr float z_raise = PARKING_EXTRUDER_SECURITY_RAISE;
if (!no_move) {
@ -12480,7 +12480,8 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
#else // !DUAL_X_CARRIAGE
set_destination_from_current();
#if ENABLED(PARKING_EXTRUDER) // Dual Parking extruder
#if ENABLED(PARKING_EXTRUDER)
parking_extruder_tool_change(tmp_extruder, no_move);
#endif