From 51a36f1cfbb45609c5e50b2257f4030b956316ae Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 12 Jun 2006 19:29:50 +0000 Subject: Change read_bit() to return 0 or -1UL, rather than 0 or 1. --- src/include/gpxe/i2c.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/gpxe/i2c.h b/src/include/gpxe/i2c.h index e282810be..bfaee8fb5 100644 --- a/src/include/gpxe/i2c.h +++ b/src/include/gpxe/i2c.h @@ -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, }; -- cgit v1.2.3-55-g7522