Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What about SPI_IOC_MESSAGE? #17

Open
lattice0 opened this issue Mar 20, 2021 · 1 comment
Open

What about SPI_IOC_MESSAGE? #17

lattice0 opened this issue Mar 20, 2021 · 1 comment

Comments

@lattice0
Copy link

I'm trying to port this C code to Rust:

ioctl (spiFds [channel], SPI_IOC_MESSAGE(1), &spi) ;

and there's no spi_ioc_message in your crate.

How should I overcome this?

@codyps
Copy link
Owner

codyps commented Sep 18, 2021

Hi @LucasZanella, sorry for not getting back to you on this. If you're still having a problem here, my methodology these days would be to create a crate dedicated to the specific SPI interface.

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

No branches or pull requests

2 participants