Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/server/gcode-processor/Actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ export function validateGenerator(
}
break;
case GCodeFlavour.RatOS:
if (semver.neq('0.1', gcodeInfo.generatorVersion)) {
if (semver.neq('0.1', gcodeInfo.ratosDialectVersion)) {
throw new SlicerNotSupported(
`Only version 0.1 of the RatOS G-code dialect is supported. Version ${gcodeInfo.generatorVersion} is not supported.`,
`Only version 0.1 of the RatOS G-code dialect is supported. Version ${gcodeInfo.ratosDialectVersion} is not supported.`,
{ cause: gcodeInfo },
);
}
Expand Down