summaryrefslogtreecommitdiff
path: root/firmware/drivers/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/i2c.h')
-rw-r--r--firmware/drivers/i2c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/i2c.h b/firmware/drivers/i2c.h
index a16077428c..ed9a5e678d 100644
--- a/firmware/drivers/i2c.h
+++ b/firmware/drivers/i2c.h
@@ -20,6 +20,8 @@
20#define I2C_H 20#define I2C_H
21 21
22extern void i2c_init(void); 22extern void i2c_init(void);
23extern void i2c_begin(void);
24extern void i2c_end(void);
23extern int i2c_write(int device, unsigned char* buf, int count ); 25extern int i2c_write(int device, unsigned char* buf, int count );
24extern int i2c_read(int device, unsigned char* buf, int count ); 26extern int i2c_read(int device, unsigned char* buf, int count );
25extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); 27extern int i2c_readmem(int device, int address, unsigned char* buf, int count );