commit
0b2c608d2f
1 changed files with 3 additions and 1 deletions
|
@ -6668,7 +6668,6 @@ inline void invalid_extruder_error(const uint8_t &e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void tool_change(const uint8_t tmp_extruder, const float fr_mm_m/*=0.0*/, bool no_move/*=false*/) {
|
void tool_change(const uint8_t tmp_extruder, const float fr_mm_m/*=0.0*/, bool no_move/*=false*/) {
|
||||||
|
|
||||||
#if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1
|
#if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1
|
||||||
|
|
||||||
if (tmp_extruder >= MIXING_VIRTUAL_TOOLS) {
|
if (tmp_extruder >= MIXING_VIRTUAL_TOOLS) {
|
||||||
|
@ -6948,6 +6947,9 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_m/*=0.0*/, bool n
|
||||||
// Set the new active extruder
|
// Set the new active extruder
|
||||||
active_extruder = tmp_extruder;
|
active_extruder = tmp_extruder;
|
||||||
|
|
||||||
|
UNUSED(fr_mm_m);
|
||||||
|
UNUSED(no_move);
|
||||||
|
|
||||||
#endif // HOTENDS <= 1
|
#endif // HOTENDS <= 1
|
||||||
|
|
||||||
SERIAL_ECHO_START;
|
SERIAL_ECHO_START;
|
||||||
|
|
Reference in a new issue