ENH: readd M220 command
1.Backup and restore extrusion speed when tool change jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I0c00391f0169dde69dab0d5120d03238aafa0862 (cherry picked from commit 2d96a9078f41764cbd5b7f5be1285025fc69f8fa)
This commit is contained in:
parent
72bc6f44cf
commit
1e214c08a3
|
@ -419,10 +419,8 @@ public:
|
||||||
WipeTowerWriter& speed_override_backup()
|
WipeTowerWriter& speed_override_backup()
|
||||||
{
|
{
|
||||||
// BBS: BBL machine don't support speed backup
|
// BBS: BBL machine don't support speed backup
|
||||||
#if 0
|
|
||||||
if (m_gcode_flavor == gcfMarlinLegacy || m_gcode_flavor == gcfMarlinFirmware)
|
if (m_gcode_flavor == gcfMarlinLegacy || m_gcode_flavor == gcfMarlinFirmware)
|
||||||
m_gcode += "M220 B\n";
|
m_gcode += "M220 B\n";
|
||||||
#endif
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -430,10 +428,8 @@ public:
|
||||||
WipeTowerWriter& speed_override_restore()
|
WipeTowerWriter& speed_override_restore()
|
||||||
{
|
{
|
||||||
// BBS: BBL machine don't support speed restore
|
// BBS: BBL machine don't support speed restore
|
||||||
#if 0
|
|
||||||
if (m_gcode_flavor == gcfMarlinLegacy || m_gcode_flavor == gcfMarlinFirmware)
|
if (m_gcode_flavor == gcfMarlinLegacy || m_gcode_flavor == gcfMarlinFirmware)
|
||||||
m_gcode += "M220 R\n";
|
m_gcode += "M220 R\n";
|
||||||
#endif
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue