From 6763210558c84eeb4a58dc89dfcfee3f7fe80620 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 23 Aug 2020 13:18:30 -0400 Subject: [PATCH] gcode: Fix out-of-order cmd_M112 reference Signed-off-by: Kevin O'Connor --- klippy/gcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/gcode.py b/klippy/gcode.py index d2ce232f..e15301f9 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -395,7 +395,7 @@ class GCodeIO: # Check for M112 out-of-order for line in lines: if self.m112_r.match(line) is not None: - self.cmd_M112(None) + self.gcode.cmd_M112(None) if self.is_processing_data: if len(pending_commands) >= 20: # Stop reading input