mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 00:45:52 +08:00
Oops, forgot to add newline.
This commit is contained in:
parent
e0d8101627
commit
885f27b8ae
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user