diff options
-rw-r--r-- | firmware/drivers/i2c.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/drivers/i2c.c b/firmware/drivers/i2c.c index f44c0a9afd..ed12145da9 100644 --- a/firmware/drivers/i2c.c +++ b/firmware/drivers/i2c.c | |||
@@ -23,8 +23,6 @@ | |||
23 | #include "debug.h" | 23 | #include "debug.h" |
24 | #include "system.h" | 24 | #include "system.h" |
25 | 25 | ||
26 | #if CONFIG_I2C != I2C_H100 /* FIX: not yet done */ | ||
27 | |||
28 | /* cute little functions, atomic read-modify-write */ | 26 | /* cute little functions, atomic read-modify-write */ |
29 | #if CONFIG_I2C == I2C_GMINI | 27 | #if CONFIG_I2C == I2C_GMINI |
30 | 28 | ||
@@ -281,9 +279,3 @@ int i2c_read(int address, unsigned char* buf, int count ) | |||
281 | i2c_stop(); | 279 | i2c_stop(); |
282 | return x; | 280 | return x; |
283 | } | 281 | } |
284 | #else /* not h100 i2c */ | ||
285 | void i2c_init(void) | ||
286 | { | ||
287 | /* a dummy */ | ||
288 | } | ||
289 | #endif /* h100 i2c */ | ||