Fixes setting tool on reprapfirmware (#7536)
The if branch already contains the correct code for RepRapFirmware, but the condition misses the check for the RapRapFirmware flavour.
This commit is contained in:
parent
c224c997db
commit
293715a6de
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ std::string GCodeWriter::set_temperature(unsigned int temperature, bool wait, in
|
||||||
}
|
}
|
||||||
gcode << temperature;
|
gcode << temperature;
|
||||||
bool multiple_tools = this->multiple_extruders && ! m_single_extruder_multi_material;
|
bool multiple_tools = this->multiple_extruders && ! m_single_extruder_multi_material;
|
||||||
if (tool != -1 && (multiple_tools || FLAVOR_IS(gcfMakerWare) || FLAVOR_IS(gcfSailfish)) ) {
|
if (tool != -1 && (multiple_tools || FLAVOR_IS(gcfMakerWare) || FLAVOR_IS(gcfSailfish) || FLAVOR_IS(gcfRepRapFirmware)) ) {
|
||||||
if (FLAVOR_IS(gcfRepRapFirmware)) {
|
if (FLAVOR_IS(gcfRepRapFirmware)) {
|
||||||
gcode << " P" << tool;
|
gcode << " P" << tool;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue