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

SPI.new ignores "device" option #2

Closed
Xasin opened this issue Jul 17, 2018 · 1 comment
Closed

SPI.new ignores "device" option #2

Xasin opened this issue Jul 17, 2018 · 1 comment

Comments

@Xasin
Copy link

Xasin commented Jul 17, 2018

As you can see here:

@driver=SPI::Driver::SPIdev.new(device: '/dev/spidev32766.0')

The code simply assumes "/dev/spidev32766.0" to be used - easily fixable, but quite annoying since it seems like unwanted yet undocumented behavior.

@m1ari
Copy link
Owner

m1ari commented Jul 30, 2018

This is now merged, I'll try and push an updated version of the gem soon (hopefullly quicker than it took to get merged)

@m1ari m1ari closed this as completed Jul 30, 2018
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