From 99393550f29b7a3ee8bf056818f3119ee7803197 Mon Sep 17 00:00:00 2001 From: srieche Date: Wed, 29 Aug 2018 02:48:31 +0100 Subject: [PATCH] [1.1.x] Silently drop M108, M112 and M410 with emergency parser enabled (#11666) --- Marlin/Marlin_main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index aaad97f54..813619a3b 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -12380,6 +12380,8 @@ void process_parsed_command() { case 108: gcode_M108(); break; // M108: Cancel Waiting case 112: gcode_M112(); break; // M112: Emergency Stop case 410: gcode_M410(); break; // M410: Quickstop. Abort all planned moves + #else + case 108: case 112: case 410: break; // Silently drop as handled by emergency parser #endif #if ENABLED(HOST_KEEPALIVE_FEATURE)