Revert "[1.1.x] idex and bl touch fix" (#11406)
* Revert "[1.1.x] bltouch home refinements (#11398)" This reverts commit30839a6ba6
. * Revert "[1.1.x] idex and bl touch fix (#11392)" This reverts commite1bef0ea79
.
This commit is contained in:
parent
30839a6ba6
commit
33c37d587d
@ -12017,7 +12017,9 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Save current position to destination, for use later
|
||||||
|
set_destination_from_current();
|
||||||
|
|
||||||
#if HAS_LEVELING
|
#if HAS_LEVELING
|
||||||
// Set current position to the physical position
|
// Set current position to the physical position
|
||||||
const bool leveling_was_active = planner.leveling_active;
|
const bool leveling_was_active = planner.leveling_active;
|
||||||
@ -12025,15 +12027,11 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(DUAL_X_CARRIAGE)
|
#if ENABLED(DUAL_X_CARRIAGE)
|
||||||
// Save current position to destination, for use later
|
|
||||||
if(current_position[X_AXIS] != x_home_pos(active_extruder))
|
|
||||||
set_destination_from_current();
|
|
||||||
else
|
|
||||||
no_move = true;
|
|
||||||
dualx_tool_change(tmp_extruder, no_move); // Can modify no_move
|
dualx_tool_change(tmp_extruder, no_move); // Can modify no_move
|
||||||
|
|
||||||
#else // !DUAL_X_CARRIAGE
|
#else // !DUAL_X_CARRIAGE
|
||||||
set_destination_from_current();
|
|
||||||
#if ENABLED(PARKING_EXTRUDER) // Dual Parking extruder
|
#if ENABLED(PARKING_EXTRUDER) // Dual Parking extruder
|
||||||
parking_extruder_tool_change(tmp_extruder, no_move);
|
parking_extruder_tool_change(tmp_extruder, no_move);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user