Skip to content

canterp: fix parsing of ORIENT_SPINDLE#3825

Merged
andypugh merged 1 commit intoLinuxCNC:2.9from
smoe:fix_canterp_spindle_orientation
Feb 24, 2026
Merged

canterp: fix parsing of ORIENT_SPINDLE#3825
andypugh merged 1 commit intoLinuxCNC:2.9from
smoe:fix_canterp_spindle_orientation

Conversation

@smoe
Copy link
Collaborator

@smoe smoe commented Feb 24, 2026

Did not feel like trusting my eyes, but while the parser is parsing into d1, the value passed is that of d2, with the value of d1 lost. This makes no sense, right?

Can anyone confirm that this patch is correct? I would then prepare the same against 2.9.

@smoe smoe added bug for-discussion-only This pull request is intended as a basis for discussion, not to be merged as-is labels Feb 24, 2026
@BsAtHome
Copy link
Contributor

Correct, the use of d2 is wrong and it should be d1.

@smoe smoe removed for-discussion-only This pull request is intended as a basis for discussion, not to be merged as-is labels Feb 24, 2026
@smoe smoe force-pushed the fix_canterp_spindle_orientation branch from 811354b to 2a72933 Compare February 24, 2026 11:27
@smoe smoe changed the base branch from master to 2.9 February 24, 2026 11:27
@smoe
Copy link
Collaborator Author

smoe commented Feb 24, 2026

Thank you, @BsAtHome . Backported to the 2.9 branch. Feels a bit like this should also go into 2.8 and 2.7.

@andypugh
Copy link
Collaborator

andypugh commented Feb 24, 2026

It could maybe be backported to 2.8 (2.7 never got the multispindle update) but I don't anticipate any further 2.7 or 2.8 releases, and I rather doubt that anyone has ever used canterp in anger, especially not with multiple spindles. It really only exists as a least-effort alternative interpreter to check pluggable interpreters, as far as I can tell.

@andypugh andypugh merged commit 8839d22 into LinuxCNC:2.9 Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants