Skip to content

rs274ngc: Don't use RTAPI. This is non-RT userspace code - #4493

Merged
grandixximo merged 1 commit into
LinuxCNC:masterfrom
BsAtHome:fix_rs274ngc-no-rtapi
Sep 2, 2026
Merged

rs274ngc: Don't use RTAPI. This is non-RT userspace code#4493
grandixximo merged 1 commit into
LinuxCNC:masterfrom
BsAtHome:fix_rs274ngc-no-rtapi

Conversation

@BsAtHome

@BsAtHome BsAtHome commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Remove the RTAPI string calls in the g-code interpreter. There is no RT in the interpreter and it is an unnecessary complication and rather slow in some of the paths where it is being used.

Unlike #4492, this does not change RTAPI code, which is a chore for another time.

@grandixximo
grandixximo merged commit 7d38197 into LinuxCNC:master Sep 2, 2026
17 checks passed
BsAtHome pushed a commit that referenced this pull request Sep 2, 2026
interp_arc.cc, interp_execute.cc and interp_find.cc included
<rtapi_math.h> but use no rtapi_ symbols. Their math functions and
M_PIl come from <math.h>, which they already include after defining
_GNU_SOURCE. The interpreter is built only as the userspace
librs274.so, so the kernel branch of rtapi_math.h never applied.

Completes the include cleanup that #4493 did for interp_convert.cc
and interp_read.cc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants