Oops, forgot to add newline.

This commit is contained in:
Joseph Lenox 2016-07-16 09:56:41 -05:00
parent e0d8101627
commit 885f27b8ae

View File

@ -187,6 +187,8 @@ GCodeWriter::set_acceleration(unsigned int acceleration)
std::ostringstream gcode; std::ostringstream gcode;
if (FLAVOR_IS(gcfRepetier)) { if (FLAVOR_IS(gcfRepetier)) {
gcode << "M201 X" << acceleration << " Y" << acceleration; gcode << "M201 X" << acceleration << " Y" << acceleration;
if (this->config.gcode_comments) gcode << " ; adjust acceleration";
gcode << "\n";
gcode << "M202 X" << acceleration << " Y" << acceleration; gcode << "M202 X" << acceleration << " Y" << acceleration;
} else { } else {
gcode << "M204 S" << acceleration; gcode << "M204 S" << acceleration;