|
@ -4666,14 +4666,9 @@ inline void gcode_M220() { |
|
|
inline void gcode_M221() { |
|
|
inline void gcode_M221() { |
|
|
if (code_seen('S')) { |
|
|
if (code_seen('S')) { |
|
|
int sval = code_value(); |
|
|
int sval = code_value(); |
|
|
if (code_seen('T')) { |
|
|
|
|
|
if (setTargetedHotend(221)) return; |
|
|
if (setTargetedHotend(221)) return; |
|
|
extruder_multiplier[target_extruder] = sval; |
|
|
extruder_multiplier[target_extruder] = sval; |
|
|
} |
|
|
} |
|
|
else { |
|
|
|
|
|
extruder_multiplier[active_extruder] = sval; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|