From 8a6cc581276d4915b23dac62edc863d157aa9def Mon Sep 17 00:00:00 2001 From: martin2250 Date: Sun, 14 Jan 2018 23:35:03 +0100 Subject: [PATCH] added M6 (tool change) to pause commands --- OpenCNCPilot/Communication/Machine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCNCPilot/Communication/Machine.cs b/OpenCNCPilot/Communication/Machine.cs index 8286cd5..9469f0a 100644 --- a/OpenCNCPilot/Communication/Machine.cs +++ b/OpenCNCPilot/Communication/Machine.cs @@ -613,7 +613,7 @@ public void SetFile(IList file) if (int.TryParse(m.Groups[2].Value, out code)) { - if (code == 0 || code == 1 || code == 2 || code == 30) + if (code == 0 || code == 1 || code == 2 || code == 30 || code == 6) pauselines[line] = true; } }