Closed derrell closed 8 years ago
The adaptor was not catching errors (0-length read) while reading from i2c. If a device / sensor doesn't exist, no data will be available. This commit ensures that the callback is called with an error indication if no data is available.
This is great, @derrell thank you. Merging.
The adaptor was not catching errors (0-length read) while reading from i2c. If a device / sensor doesn't exist, no data will be available. This commit ensures that the callback is called with an error indication if no data is available.