Delta support for multiple hotends with offsets (#10118)
This commit is contained in:
@ -191,7 +191,9 @@ void GcodeSuite::G28(const bool always_home_all) {
|
||||
|
||||
// Always home with tool 0 active
|
||||
#if HOTENDS > 1
|
||||
const uint8_t old_tool_index = active_extruder;
|
||||
#if DISABLED(DELTA) || ENABLED(DELTA_HOME_TO_SAFE_ZONE)
|
||||
const uint8_t old_tool_index = active_extruder;
|
||||
#endif
|
||||
tool_change(0, 0, true);
|
||||
#endif
|
||||
|
||||
@ -331,7 +333,7 @@ void GcodeSuite::G28(const bool always_home_all) {
|
||||
clean_up_after_endstop_or_probe_move();
|
||||
|
||||
// Restore the active tool after homing
|
||||
#if HOTENDS > 1
|
||||
#if HOTENDS > 1 && (DISABLED(DELTA) || ENABLED(DELTA_HOME_TO_SAFE_ZONE))
|
||||
#if ENABLED(PARKING_EXTRUDER)
|
||||
#define NO_FETCH false // fetch the previous toolhead
|
||||
#else
|
||||
|
Reference in New Issue
Block a user