diff options
Diffstat (limited to 'firmware/drivers/generic_i2c.c')
-rw-r--r-- | firmware/drivers/generic_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/generic_i2c.c b/firmware/drivers/generic_i2c.c index 206ded96fb..dd5312da6f 100644 --- a/firmware/drivers/generic_i2c.c +++ b/firmware/drivers/generic_i2c.c @@ -136,7 +136,7 @@ int i2c_write_data(int bus_index, int bus_address, int address, { int i; int ret = 0; - const struct i2c_interface *iface = i2c_if[bus_index];; + const struct i2c_interface *iface = i2c_if[bus_index]; i2c_start(iface); if (!i2c_outb(iface, bus_address & 0xfe)) @@ -173,7 +173,7 @@ int i2c_read_data(int bus_index, int bus_address, int address, { int i; int ret = 0; - const struct i2c_interface *iface = i2c_if[bus_index];; + const struct i2c_interface *iface = i2c_if[bus_index]; if (address != -1) { |