按提示词结论接入 INI 参数文件桥
This commit is contained in:
@@ -22,6 +22,7 @@ int parse_gcode_with_backend(GcodeBackendKind backend,
|
||||
CanonEventSink &sink,
|
||||
const char *program,
|
||||
size_t program_len,
|
||||
const GcodeBackendOptions &options,
|
||||
std::string *error) {
|
||||
switch (backend) {
|
||||
case GcodeBackendKind::Smoke: {
|
||||
@@ -37,7 +38,7 @@ int parse_gcode_with_backend(GcodeBackendKind backend,
|
||||
}
|
||||
case GcodeBackendKind::LinuxCncRs274:
|
||||
#ifdef CNC_SIM_ENABLE_LINUXCNC_RS274_BACKEND
|
||||
return parse_linuxcnc_rs274_backend(sink, program, program_len, error);
|
||||
return parse_linuxcnc_rs274_backend(sink, program, program_len, options, error);
|
||||
#else
|
||||
if (error) {
|
||||
*error = "linuxcnc-rs274 backend is not compiled into this build";
|
||||
|
||||
Reference in New Issue
Block a user