|
@@ -3525,6 +3525,13 @@ inline void gcode_M203() {
|
3525
|
3525
|
* Also sets minimum segment time in ms (B20000) to prevent buffer under-runs and M20 minimum feedrate
|
3526
|
3526
|
*/
|
3527
|
3527
|
inline void gcode_M204() {
|
|
3528
|
+ if (code_seen('S')) // Kept for legacy compatibility. Should NOT BE USED for new developments.
|
|
3529
|
+ {
|
|
3530
|
+ acceleration = code_value();
|
|
3531
|
+ travel_acceleration = acceleration;
|
|
3532
|
+ SERIAL_ECHOPAIR("Setting Printing and Travelling Acceleration: ", acceleration );
|
|
3533
|
+ SERIAL_EOL;
|
|
3534
|
+ }
|
3528
|
3535
|
if (code_seen('P'))
|
3529
|
3536
|
{
|
3530
|
3537
|
acceleration = code_value();
|