diff --git a/xs/src/libslic3r/GCodeWriter.cpp b/xs/src/libslic3r/GCodeWriter.cpp index 7c2b17a14b..e894f382a0 100644 --- a/xs/src/libslic3r/GCodeWriter.cpp +++ b/xs/src/libslic3r/GCodeWriter.cpp @@ -187,6 +187,8 @@ GCodeWriter::set_acceleration(unsigned int acceleration) std::ostringstream gcode; if (FLAVOR_IS(gcfRepetier)) { gcode << "M201 X" << acceleration << " Y" << acceleration; + if (this->config.gcode_comments) gcode << " ; adjust acceleration"; + gcode << "\n"; gcode << "M202 X" << acceleration << " Y" << acceleration; } else { gcode << "M204 S" << acceleration;