Open lattice0 opened 3 years ago
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?
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.
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?