Send temps to printer even when there are no future tool changes
This commit is contained in:
parent
bc96467792
commit
a4b60206b2
1 changed files with 8 additions and 1 deletions
|
|
@ -146,7 +146,14 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
// For smoothie, switch back to the extrude we were using before the temp change (smoothie switches to the specified extruder, marlin repetier do not)
|
||||
queuedCommands.Enqueue($"T{activeTool}");
|
||||
var temp = GetNextToolTemp(requestedToolForTempChange);
|
||||
return $"{lineToSend.Substring(0, 4)} T{requestedToolForTempChange} S{temp}";
|
||||
if (temp > 0)
|
||||
{
|
||||
return $"{lineToSend.Substring(0, 4)} T{requestedToolForTempChange} S{temp}";
|
||||
}
|
||||
else // send the temp as requested
|
||||
{
|
||||
return lineToSend;
|
||||
}
|
||||
}
|
||||
|
||||
// if we are waiting to switch to the next tool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue