diff options
Diffstat (limited to 'firmware/export/generic_i2c.h')
-rw-r--r-- | firmware/export/generic_i2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/generic_i2c.h b/firmware/export/generic_i2c.h index 7b598039fa..f38728589d 100644 --- a/firmware/export/generic_i2c.h +++ b/firmware/export/generic_i2c.h | |||
@@ -47,7 +47,7 @@ struct i2c_interface | |||
47 | void (*delay_thigh)(void); /* SCL high period (tHIGH) 4.0us/0.6us */ | 47 | void (*delay_thigh)(void); /* SCL high period (tHIGH) 4.0us/0.6us */ |
48 | }; | 48 | }; |
49 | 49 | ||
50 | extern void i2c_add_node(struct i2c_interface *iface); | 50 | extern int i2c_add_node(struct i2c_interface *iface); |
51 | extern int i2c_write_data(int bus_address, int address, | 51 | extern int i2c_write_data(int bus_address, int address, |
52 | const unsigned char* buf, int count); | 52 | const unsigned char* buf, int count); |
53 | extern int i2c_read_data(int bus_address, int address, | 53 | extern int i2c_read_data(int bus_address, int address, |