|
|
@ -10350,22 +10350,20 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
|
|
|
|
UNUSED(fr_mm_s);
|
|
|
|
UNUSED(fr_mm_s);
|
|
|
|
UNUSED(no_move);
|
|
|
|
UNUSED(no_move);
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SWITCHING_EXTRUDER) && !DONT_SWITCH
|
|
|
|
#if ENABLED(MK2_MULTIPLEXER)
|
|
|
|
|
|
|
|
|
|
|
|
stepper.synchronize();
|
|
|
|
|
|
|
|
move_extruder_servo(tmp_extruder);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(MK2_MULTIPLEXER)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (tmp_extruder >= E_STEPPERS)
|
|
|
|
if (tmp_extruder >= E_STEPPERS)
|
|
|
|
return invalid_extruder_error(tmp_extruder);
|
|
|
|
return invalid_extruder_error(tmp_extruder);
|
|
|
|
|
|
|
|
|
|
|
|
select_multiplexed_stepper(tmp_extruder);
|
|
|
|
select_multiplexed_stepper(tmp_extruder);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif // HOTENDS <= 1
|
|
|
|
#endif // HOTENDS <= 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SWITCHING_EXTRUDER) && !DONT_SWITCH
|
|
|
|
|
|
|
|
stepper.synchronize();
|
|
|
|
|
|
|
|
move_extruder_servo(tmp_extruder);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
active_extruder = tmp_extruder;
|
|
|
|
active_extruder = tmp_extruder;
|
|
|
|
|
|
|
|
|
|
|
|
SERIAL_ECHO_START();
|
|
|
|
SERIAL_ECHO_START();
|
|
|
|