Skip to content

hal: Update more easy-to-convert components to getter/setter - #4272

Open
BsAtHome wants to merge 1 commit into
LinuxCNC:masterfrom
BsAtHome:halgs_components-simple-2
Open

hal: Update more easy-to-convert components to getter/setter#4272
BsAtHome wants to merge 1 commit into
LinuxCNC:masterfrom
BsAtHome:halgs_components-simple-2

Conversation

@BsAtHome

Copy link
Copy Markdown
Contributor

This PR updates the next set of components to getter/setter. These components should also be rather easy as most changes are to the type names and using pinname_set(...) for the write action. The changes are not big, but there are just many components.

A few places a local variable was introduced to prevent multiple reads if the change was trivial. Pin/param names max/min/clamp were suffixed with an underscore to prevent kernel identifier clashes. Any inappropriate use of the old hal types has been cleaned up.

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.

1 participant