diff options
Diffstat (limited to 'firmware/drivers/i2c.h')
-rw-r--r-- | firmware/drivers/i2c.h | 2 |
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 | ||
22 | extern void i2c_init(void); | 22 | extern void i2c_init(void); |
23 | extern void i2c_begin(void); | ||
24 | extern void i2c_end(void); | ||
23 | extern int i2c_write(int device, unsigned char* buf, int count ); | 25 | extern int i2c_write(int device, unsigned char* buf, int count ); |
24 | extern int i2c_read(int device, unsigned char* buf, int count ); | 26 | extern int i2c_read(int device, unsigned char* buf, int count ); |
25 | extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); | 27 | extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); |