Skip to content

Comments

Mb2hal followup #2278#2298

Merged
hansu merged 2 commits intoLinuxCNC:2.9from
sensille:mb2hal_v4
Jan 25, 2023
Merged

Mb2hal followup #2278#2298
hansu merged 2 commits intoLinuxCNC:2.9from
sensille:mb2hal_v4

Conversation

@sensille
Copy link
Contributor

This is a followup to #2278 where we decided to only add checks where needed and check against the version instead. #2278 also missed a place where a crash still could happen.

This is a revised version of the previous fix that also covers
coil-based access and should be better self-documenting.
@hansu hansu self-assigned this Jan 24, 2023
@hansu
Copy link
Member

hansu commented Jan 25, 2023

This makes the code better understandable in adding checks only where needed and makes it more clear why they are needed. Thanks Arne!

@hansu hansu merged commit a78b43c into LinuxCNC:2.9 Jan 25, 2023
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