Skip to content

SPI read buffer returns incorrect values #33

Description

@panbr907

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]

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions