Change read_bit() to return 0 or -1UL, rather than 0 or 1.

This commit is contained in:
Michael Brown
2006-06-12 19:29:50 +00:00
parent 2e49441535
commit 51a36f1cfb
3 changed files with 7 additions and 3 deletions

View File

@@ -82,7 +82,9 @@ struct i2c_bit_basher {
/** Bit indices used for I2C bit-bashing interface */
enum {
/** Serial clock */
I2C_BIT_SCL = 0,
/** Serial data */
I2C_BIT_SDA,
};