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 read buffer returns incorrect values #33

Open
panbr907 opened this issue Feb 19, 2013 · 0 comments
Open

SPI read buffer returns incorrect values #33

panbr907 opened this issue Feb 19, 2013 · 0 comments

Comments

@panbr907
Copy link

With more than one read or duplex operation, the read buffer is filled with only the value of the last operation requested.
Caused by line
return [transfer.to_read_bytes() for t in transfers if t.has_read_buf]
in spi.py; suggest it be changed to
return [t.to_read_bytes() for t in transfers if t.has_read_buf]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant