[2.0.x] report error on unsupported commands (#10553)

Raise an error when an unknown/unsupported G/M command is requires.

This will address #10546
2.0.x
Giuliano 7 years ago committed by Roxy-3D
parent a474a7e675
commit 2e1939e85c

@ -277,6 +277,8 @@ void GcodeSuite::process_parsed_command(
#if ENABLED(DEBUG_GCODE_PARSER)
case 800: parser.debug(); break; // G800: GCode Parser Test for G
#endif
default: parser.unknown_command_error(); break;
}
break;
@ -655,6 +657,8 @@ void GcodeSuite::process_parsed_command(
#endif
case 999: M999(); break; // M999: Restart after being Stopped
default: parser.unknown_command_error(); break;
}
break;

Loading…
Cancel
Save