Indent tool_change_prime
This commit is contained in:
parent
cc1b8c2d0b
commit
01c9d49f09
|
@ -793,7 +793,7 @@ inline void fast_line_to_current(const AxisEnum fr_axis) { _line_to_current(fr_a
|
|||
*/
|
||||
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
|
||||
|
||||
void tool_change_prime() {
|
||||
void tool_change_prime() {
|
||||
if (toolchange_settings.extra_prime > 0
|
||||
&& TERN(PREVENT_COLD_EXTRUSION, !thermalManager.targetTooColdToExtrude(active_extruder), 1)
|
||||
) {
|
||||
|
@ -860,8 +860,9 @@ void tool_change_prime() {
|
|||
current_position.e = destination.e;
|
||||
sync_plan_position_e(); // Resume at the old E position
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // TOOLCHANGE_FILAMENT_SWAP
|
||||
|
||||
/**
|
||||
* Perform a tool-change, which may result in moving the
|
||||
|
|
Loading…
Reference in a new issue