Closed ianmetcalf closed 9 years ago
i2c_smbus_read_byte returns a signed 32 bit interger, not 8 bit.
i2c_smbus_read_byte
Reading the byte 0xFF currently causes a Segmentation Fault, this fixes that.
0xFF
good catch!
i2c_smbus_read_byte
returns a signed 32 bit interger, not 8 bit.Reading the byte
0xFF
currently causes a Segmentation Fault, this fixes that.