Closed bessman closed 3 months ago
This pull request addresses a bug in the I2C bulk read function by adding a check for zero count and adjusting the loop to start from 1. Additionally, the firmware version patch number has been incremented to reflect this change.
Files | Changes |
---|---|
src/bus/i2c/i2c.c |
Fixed the bulk read operation by adding a zero count check and adjusting the loop to correctly handle the read operation. |
src/helpers/device.c |
Updated the firmware version to reflect the new patch. |
Summary by Sourcery
This pull request fixes an off-by-one error in the I2C bulk read function and adds a check to handle zero-byte read requests. Additionally, the firmware version patch number has been incremented.