diff --git a/src/libslic3r/GCodeWriter.cpp b/src/libslic3r/GCodeWriter.cpp index b35387762..847398e69 100644 --- a/src/libslic3r/GCodeWriter.cpp +++ b/src/libslic3r/GCodeWriter.cpp @@ -204,6 +204,9 @@ std::string GCodeWriter::set_acceleration(unsigned int acceleration) gcode << "\n"; // M202: Set max travel acceleration gcode << "M202 X" << acceleration << " Y" << acceleration; + } else if (FLAVOR_IS(gcfRepRapFirmware)) { + // M204: Set default acceleration + gcode << "M204 P" << acceleration; } else { // M204: Set default acceleration gcode << "M204 S" << acceleration;