Follow-up of 6a46b71dc1
- Fix build on non-Windows platforms
This commit is contained in:
parent
5f5de1c812
commit
d99895805c
1 changed files with 3 additions and 3 deletions
|
@ -2168,10 +2168,10 @@ void GCodeProcessor::process_G28(const GCodeReader::GCodeLine& line)
|
||||||
if (!found)
|
if (!found)
|
||||||
new_line_raw += " X0 Y0 Z0";
|
new_line_raw += " X0 Y0 Z0";
|
||||||
|
|
||||||
GCodeReader::GCodeLine new_line;
|
GCodeReader::GCodeLine new_gline;
|
||||||
GCodeReader reader;
|
GCodeReader reader;
|
||||||
reader.parse_line(new_line_raw.c_str(), new_line, [](GCodeReader&, const GCodeReader::GCodeLine&) {});
|
reader.parse_line(new_line_raw, [&](GCodeReader& reader, const GCodeReader::GCodeLine& gline) { new_gline = gline; });
|
||||||
process_G1(new_line);
|
process_G1(new_gline);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GCodeProcessor::process_G90(const GCodeReader::GCodeLine& line)
|
void GCodeProcessor::process_G90(const GCodeReader::GCodeLine& line)
|
||||||
|
|
Loading…
Add table
Reference in a new issue