Skip to content
Snippets Groups Projects
Commit ed9eaa19 authored by chai-md's avatar chai-md Committed by Scott Lahteine
Browse files

Fix a comment in fwretract.cpp (#13802)

parent 610fb466
No related branches found
No related tags found
No related merge requests found
...@@ -103,7 +103,7 @@ void FWRetract::retract(const bool retracting ...@@ -103,7 +103,7 @@ void FWRetract::retract(const bool retracting
// Prevent two swap-retract or recovers in a row // Prevent two swap-retract or recovers in a row
#if EXTRUDERS > 1 #if EXTRUDERS > 1
// Allow G10 S1 only after G10 // Allow G10 S1 only after G11
if (swapping && retracted_swap[active_extruder] == retracting) return; if (swapping && retracted_swap[active_extruder] == retracting) return;
// G11 priority to recover the long retract if activated // G11 priority to recover the long retract if activated
if (!retracting) swapping = retracted_swap[active_extruder]; if (!retracting) swapping = retracted_swap[active_extruder];
...@@ -114,8 +114,8 @@ void FWRetract::retract(const bool retracting ...@@ -114,8 +114,8 @@ void FWRetract::retract(const bool retracting
/* // debugging /* // debugging
SERIAL_ECHOLNPAIR( SERIAL_ECHOLNPAIR(
"retracting ", retracting, "retracting ", retracting,
"swapping ", swapping " swapping ", swapping,
"active extruder ", active_extruder " active extruder ", active_extruder
); );
for (uint8_t i = 0; i < EXTRUDERS; ++i) { for (uint8_t i = 0; i < EXTRUDERS; ++i) {
SERIAL_ECHOLNPAIR("retracted[", i, "] ", retracted[i]); SERIAL_ECHOLNPAIR("retracted[", i, "] ", retracted[i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment