Skip to content

Commit 811354b

Browse files
committed
canterp: fix parsing of ORIENT_SPINDLE
1 parent 8492310 commit 811354b

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
@@ -590,11 +590,11 @@ int Canterp::execute(const char *line) {
590590
return INTERP_ERROR;
591591
}
592592
if (!strcmp(s1, "CANON_CLOCKWISE")) {
593-
ORIENT_SPINDLE(i1, d2, CANON_CLOCKWISE);
593+
ORIENT_SPINDLE(i1, d1, CANON_CLOCKWISE);
594594
return 0;
595595
}
596596
if (!strcmp(s1, "CANON_COUNTERCLOCKWISE")) {
597-
ORIENT_SPINDLE(i1, d2, CANON_COUNTERCLOCKWISE);
597+
ORIENT_SPINDLE(i1, d1, CANON_COUNTERCLOCKWISE);
598598
return 0;
599599
}
600600
return INTERP_ERROR;

0 commit comments

Comments
 (0)