Browse Source

Minor tweak to M204 code (PR#2457)

pull/1/head
Scott Lahteine 9 years ago
committed by Richard Wackerbarth
parent
commit
db23b9b184
  1. 3
      Marlin/Marlin_main.cpp

3
Marlin/Marlin_main.cpp

@ -4105,8 +4105,7 @@ inline void gcode_M203() {
*/
inline void gcode_M204() {
if (code_seen('S')) { // Kept for legacy compatibility. Should NOT BE USED for new developments.
acceleration = code_value();
travel_acceleration = acceleration;
travel_acceleration = acceleration = code_value();
SERIAL_ECHOPAIR("Setting Print and Travel Acceleration: ", acceleration);
SERIAL_EOL;
}

Loading…
Cancel
Save