Cancel Objects - As seen at ERRF2019 (#15590)
This commit is contained in:
parent
f6a799c7b3
commit
93f0012959
104 changed files with 1015 additions and 105 deletions
|
|
@ -138,7 +138,9 @@ void GCodeParser::parse(char *p) {
|
|||
switch (letter) {
|
||||
|
||||
case 'G': case 'M': case 'T':
|
||||
|
||||
#if ENABLED(CANCEL_OBJECTS)
|
||||
case 'O':
|
||||
#endif
|
||||
// Skip spaces to get the numeric part
|
||||
while (*p == ' ') p++;
|
||||
|
||||
|
|
@ -230,7 +232,14 @@ void GCodeParser::parse(char *p) {
|
|||
case 23: case 28: case 30: case 117: case 118: case 928: string_arg = p; return;
|
||||
default: break;
|
||||
}
|
||||
|
||||
/*
|
||||
#if ENABLED(CANCEL_OBJECTS)
|
||||
if (letter == 'O') switch (codenum) {
|
||||
case 1: string_arg = p; return;
|
||||
default: break;
|
||||
}
|
||||
#endif
|
||||
*/
|
||||
#if ENABLED(DEBUG_GCODE_PARSER)
|
||||
const bool debug = codenum == 800;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue