Indent tool_change_prime

This commit is contained in:
Scott Lahteine 2021-01-04 23:35:56 -06:00 committed by Scott Lahteine
parent cc1b8c2d0b
commit 01c9d49f09

View file

@ -793,7 +793,7 @@ inline void fast_line_to_current(const AxisEnum fr_axis) { _line_to_current(fr_a
*/ */
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP) #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
void tool_change_prime() { void tool_change_prime() {
if (toolchange_settings.extra_prime > 0 if (toolchange_settings.extra_prime > 0
&& TERN(PREVENT_COLD_EXTRUSION, !thermalManager.targetTooColdToExtrude(active_extruder), 1) && TERN(PREVENT_COLD_EXTRUSION, !thermalManager.targetTooColdToExtrude(active_extruder), 1)
) { ) {
@ -860,8 +860,9 @@ void tool_change_prime() {
current_position.e = destination.e; current_position.e = destination.e;
sync_plan_position_e(); // Resume at the old E position 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 * Perform a tool-change, which may result in moving the