Skip to content

Commit 927bd3c

Browse files
authored
Merge pull request #3182 from Sigma1912/emcrsh_fix-reply-for-get_spindle_override
emcrsh: fix bug with extra reply line for 'get spindle_override'
2 parents 51a6b66 + d85194b commit 927bd3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emc/usr_intf/emcrsh.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2554,7 +2554,7 @@ static cmdResponseType getSpindleOverride(connectionRecType *context)
25542554
continue;
25552555

25562556
double percent = emcStatus->motion.spindle[n].spindle_scale * 100.0;
2557-
dprintf(context->cliSock, "SPINDLE_OVERRIDE %d %f\r\n", n, percent);
2557+
OUT("SPINDLE_OVERRIDE %d %f", n, percent);
25582558
}
25592559

25602560
return rtNoError;

0 commit comments

Comments
 (0)