Merge pull request #2915 from larsbrubaker/design_tools

Make sure we always stop when the time out happens on macros
This commit is contained in:
Lars Brubaker 2018-01-18 17:23:35 -08:00 committed by GitHub
commit a88ff2984e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,6 +177,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
{
double.TryParse(value, out macroData.expireTime);
maxTimeToWaitForOk = macroData.expireTime;
timeHaveBeenWaiting.Restart();
}
if (TryGetAfterString(lineToSend, "count_down", out value))
{