Skip to content

Commit

Permalink
Only add S1 param to G10 when generating repetier flavour gcode.
Browse files Browse the repository at this point in the history
The other firmwares can interpret the S1 differently so don't let them see it.
  • Loading branch information
smartavionics committed Jan 8, 2019
1 parent ae18537 commit 00bc583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gcodeExport.cpp
Expand Up @@ -874,7 +874,7 @@ void GCodeExport::writeRetraction(const RetractionConfig& config, bool force, bo
return;
}
*output_stream << "G10";
if (extruder_switch)
if (extruder_switch && flavor == EGCodeFlavor::REPETIER)
{
*output_stream << " S1";
}
Expand Down

0 comments on commit 00bc583

Please sign in to comment.