Skip to content

Commit 8839d22

Browse files
authored
Merge pull request #3825 from smoe/fix_canterp_spindle_orientation
canterp: fix parsing of ORIENT_SPINDLE
2 parents edcf858 + 2a72933 commit 8839d22

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/emc/canterp/canterp.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,11 +592,11 @@ int Canterp::execute(const char *line) {
592592
return INTERP_ERROR;
593593
}
594594
if (!strcmp(s1, "CANON_CLOCKWISE")) {
595-
ORIENT_SPINDLE(i1, d2, CANON_CLOCKWISE);
595+
ORIENT_SPINDLE(i1, d1, CANON_CLOCKWISE);
596596
return 0;
597597
}
598598
if (!strcmp(s1, "CANON_COUNTERCLOCKWISE")) {
599-
ORIENT_SPINDLE(i1, d2, CANON_COUNTERCLOCKWISE);
599+
ORIENT_SPINDLE(i1, d1, CANON_COUNTERCLOCKWISE);
600600
return 0;
601601
}
602602
return INTERP_ERROR;

0 commit comments

Comments
 (0)