mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 15:23:42 +03:00
Change read_bit() to return 0 or -1UL, rather than 0 or 1.
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user