You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using i2c module from bonescript, on PocketBeagle.
I am seeing sometimes readByte(i2cReadByte in BoneScript) causes Segmentation Fault in its native code.
I printf debugged and by following change the problem seems to be gone.
The issue happens when you have read error (-1 is returned from i2c_smbus_read_byte()).
Note sure this is bonescript issue or i2c module issue.
I am using i2c module from bonescript, on PocketBeagle.
I am seeing sometimes readByte(i2cReadByte in BoneScript) causes Segmentation Fault in its native code.
I printf debugged and by following change the problem seems to be gone.
The issue happens when you have read error (-1 is returned from i2c_smbus_read_byte()).
Note sure this is bonescript issue or i2c module issue.
The text was updated successfully, but these errors were encountered: