From 73c77d6b883f98525b341f42936ee1613d43a8d6 Mon Sep 17 00:00:00 2001 From: Lars Brubaker Date: Thu, 18 Jan 2018 17:08:42 -0800 Subject: [PATCH] Make sure we always stop when the time out happens on macros --- PrinterCommunication/Io/MacroProcessingStream.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PrinterCommunication/Io/MacroProcessingStream.cs b/PrinterCommunication/Io/MacroProcessingStream.cs index 6b753e5a1..1a185ba23 100644 --- a/PrinterCommunication/Io/MacroProcessingStream.cs +++ b/PrinterCommunication/Io/MacroProcessingStream.cs @@ -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)) {