Skip to content

Conversation

@kamtom480
Copy link

For the busio.SPI() class only one pin (MISO or MOSI) needs to be defined now. There is no need to pass both of them.

I2C_TRANSFER returns a negative value when an error occurs. busio.I2C class expects error values to be positive. Adding a minus changes the error values from negative to positive.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks!

@tannewt tannewt merged commit a32359b into adafruit:main Mar 11, 2021
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

Successfully merging this pull request may close these issues.

3 participants