Browse Source

Indent tool_change_prime

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
d2e1e9a0ac
  1. 7
      Marlin/src/module/tool_change.cpp

7
Marlin/src/module/tool_change.cpp

@ -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…
Cancel
Save