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
Calls to functions like i2c_writeBytes or i2c_readRaw never return an error value (EXIT_FAILURE), although no device is connected to the bus. When using i2c_readRaw, the function fills the receive buffer with all 0xff and returns EXIT_SUCCESS when no device is present. Thus a userspace program cannot determine if the returned data is really 0xff or if the device just isn't there.
Feature request: The function should return an error value of the I2C subsystem doesn't read the ACK bit in any read/write operation.
The text was updated successfully, but these errors were encountered:
Calls to functions like
i2c_writeBytes
ori2c_readRaw
never return an error value (EXIT_FAILURE
), although no device is connected to the bus. When usingi2c_readRaw
, the function fills the receive buffer with all0xff
and returnsEXIT_SUCCESS
when no device is present. Thus a userspace program cannot determine if the returned data is really0xff
or if the device just isn't there.Feature request: The function should return an error value of the I2C subsystem doesn't read the ACK bit in any read/write operation.
The text was updated successfully, but these errors were encountered: