|
@@ -7258,7 +7258,7 @@ Sigma_Exit:
|
|
// Legacy acceleration format. This format is used by the legacy Marlin, MK2 or MK3 firmware,
|
|
// Legacy acceleration format. This format is used by the legacy Marlin, MK2 or MK3 firmware,
|
|
// and it is also generated by Slic3r to control acceleration per extrusion type
|
|
// and it is also generated by Slic3r to control acceleration per extrusion type
|
|
// (there is a separate acceleration settings in Slicer for perimeter, first layer etc).
|
|
// (there is a separate acceleration settings in Slicer for perimeter, first layer etc).
|
|
- cs.acceleration = code_value();
|
|
|
|
|
|
+ cs.acceleration = cs.travel_acceleration = code_value();
|
|
// Interpret the T value as retract acceleration in the old Marlin format.
|
|
// Interpret the T value as retract acceleration in the old Marlin format.
|
|
if(code_seen('T'))
|
|
if(code_seen('T'))
|
|
cs.retract_acceleration = code_value();
|
|
cs.retract_acceleration = code_value();
|
|
@@ -7268,13 +7268,8 @@ Sigma_Exit:
|
|
cs.acceleration = code_value();
|
|
cs.acceleration = code_value();
|
|
if(code_seen('R'))
|
|
if(code_seen('R'))
|
|
cs.retract_acceleration = code_value();
|
|
cs.retract_acceleration = code_value();
|
|
- if(code_seen('T')) {
|
|
|
|
- // Interpret the T value as the travel acceleration in the new Marlin format.
|
|
|
|
- /*!
|
|
|
|
- @todo Prusa3D firmware currently does not support travel acceleration value independent from the extruding acceleration value.
|
|
|
|
- */
|
|
|
|
- // travel_acceleration = code_value();
|
|
|
|
- }
|
|
|
|
|
|
+ if(code_seen('T'))
|
|
|
|
+ cs.travel_acceleration = code_value();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
break;
|
|
break;
|