mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-14 03:02:52 +02:00
Duplicated Marlin firmware flavor to 'Marlin (legacy)' and 'Marlin Firmware'
The two flavors should be identical after this commit, except that GCodeProcessor.cpp was not updated. This shall be done in a later step.
This commit is contained in:
1 parent
7fb9610d3a
commit
151a76ee92
7 files changed
+23
-12
No files matched your search
@@ -342,7 +342,7 @@ public:
|
||||
WipeTowerWriter& speed_override_backup()
|
||||
{
|
||||
// This is only supported by Prusa at this point (https://github.com/prusa3d/PrusaSlicer/issues/3114)
|
||||
if (m_gcode_flavor == gcfMarlin)
|
||||
if (m_gcode_flavor == gcfMarlin || m_gcode_flavor == gcfMarlinFirmware)
|
||||
m_gcode += "M220 B\n";
|
||||
return *this;
|
||||
}
|
||||
@@ -350,7 +350,7 @@ public:
|
||||
// Let the firmware restore the active speed override value.
|
||||
WipeTowerWriter& speed_override_restore()
|
||||
{
|
||||
if (m_gcode_flavor == gcfMarlin)
|
||||
if (m_gcode_flavor == gcfMarlin || m_gcode_flavor == gcfMarlinFirmware)
|
||||
m_gcode += "M220 R\n";
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user