summaryrefslogtreecommitdiff
path: root/firmware/export/generic_i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/generic_i2c.h')
-rw-r--r--firmware/export/generic_i2c.h2
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
50extern void i2c_add_node(struct i2c_interface *iface); 50extern int i2c_add_node(struct i2c_interface *iface);
51extern int i2c_write_data(int bus_address, int address, 51extern int i2c_write_data(int bus_address, int address,
52 const unsigned char* buf, int count); 52 const unsigned char* buf, int count);
53extern int i2c_read_data(int bus_address, int address, 53extern int i2c_read_data(int bus_address, int address,