[1.1.x] Silently drop M108, M112 and M410 with emergency parser enabled (#11666)

This commit is contained in:
srieche 2018-08-29 02:48:31 +01:00 committed by Scott Lahteine
parent 4f0737cd2c
commit 99393550f2

View File

@ -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)