Fixed M203 processing by the time estimator for Smoothieware.
Fixes "Print time estimate incorrect for Smoothie flavor with M203 #1259"
This commit is contained in:
parent
9fbbbcabc8
commit
45e611c9fc
@ -1223,7 +1223,8 @@ namespace Slic3r {
|
||||
return;
|
||||
|
||||
// see http://reprap.org/wiki/G-code#M203:_Set_maximum_feedrate
|
||||
float factor = (dialect == gcfMarlin) ? 1.0f : MMMIN_TO_MMSEC;
|
||||
// http://smoothieware.org/supported-g-codes
|
||||
float factor = (dialect == gcfMarlin || dialect == gcfSmoothie) ? 1.0f : MMMIN_TO_MMSEC;
|
||||
|
||||
if (line.has_x())
|
||||
set_axis_max_feedrate(X, line.x() * factor);
|
||||
|
Loading…
Reference in New Issue
Block a user