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

Not closing SPI Transactions #47

Closed
kinasmith opened this issue Jan 25, 2017 · 1 comment
Closed

Not closing SPI Transactions #47

kinasmith opened this issue Jan 25, 2017 · 1 comment
Assignees
Labels
bug Identifies a bug in the current version of the code
Milestone

Comments

@kinasmith
Copy link

I'm having issues with this library while working with other SPI devices.
There are circumstances where it isn't closing the SPI transaction after completing a task, which causes havoc while talking to other devices on the SPI bus that use a different SPI_MODE.
I did some digging and notices several instances where _endSPI has been commented out within the library. Uncommenting the _endSPI() in the _readStat1() function fixed my issues, but I thought ya'll might want to check it out.
-thanks.

@Marzogh
Copy link
Owner

Marzogh commented Apr 12, 2017

Hi @kinasmith ,

Thanks for pointing this out. I've already caught this bug as of v2.6.0 (still a work in progress and this should be fixed with the next release. Feel free to test out code from the v2.6.0-w.i.p branch and let me know if anything fails to work.

Cheers!

@Marzogh Marzogh self-assigned this Apr 12, 2017
@Marzogh Marzogh added the bug Identifies a bug in the current version of the code label Apr 12, 2017
@Marzogh Marzogh added this to the 2.6.0 milestone Apr 12, 2017
@Marzogh Marzogh closed this as completed Apr 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies a bug in the current version of the code
Projects
None yet
Development

No branches or pull requests

2 participants