Skip to content

Deduplicate hm2 driver code and constants#3225

Merged
pcw-mesa merged 2 commits intoLinuxCNC:masterfrom
BsAtHome:fix_deduplicate-hm2-code
Dec 14, 2024
Merged

Deduplicate hm2 driver code and constants#3225
pcw-mesa merged 2 commits intoLinuxCNC:masterfrom
BsAtHome:fix_deduplicate-hm2-code

Conversation

@BsAtHome
Copy link
Copy Markdown
Contributor

The evolution of the SPI drivers has created a bit of copy-paste duplication of code and constants. This PR cleans that up and uses the files created by the hm2_spix driver previously. It is not necessary to backport this cleanup part.

This PR also fixes the old and original hm2_spi driver to actually work on any RPi board. This old driver should not be needed any more and is superseded by hm2_spix, but deleting it now is probably not a good idea. Better fix it than having a non-functional driver in the tree. It may also be a good thing to backport this fix to the 2.9 branch (and older if still supported).

BsAtHome added a commit to BsAtHome/linuxcnc that referenced this pull request Dec 14, 2024
@pcw-mesa pcw-mesa merged commit 034d734 into LinuxCNC:master Dec 14, 2024
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