mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 01:45:55 +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;
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user