FIX:gcodechecker parse new SYNC command
Change-Id: I0c820cd20e6db48951c0bee21f7b729ce55734e6
This commit is contained in:
parent
ff6b49d714
commit
8e3c82e161
|
@ -336,6 +336,16 @@ GCodeCheckResult GCodeChecker::parse_command(GCodeLine& gcode_line)
|
|||
flow_ratio = filament_flow_ratio[pt];
|
||||
break;
|
||||
}
|
||||
case 'S': {
|
||||
if (cmd.compare(0, 4, "SYNC") == 0) {
|
||||
// Valid SYNC command
|
||||
}
|
||||
else {
|
||||
// Invalid SYNC command
|
||||
ret = GCodeCheckResult::ParseFailed;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
//BBS: other g command? impossible! must be invalid
|
||||
ret = GCodeCheckResult::ParseFailed;
|
||||
|
|
Loading…
Reference in New Issue