summaryrefslogtreecommitdiff
path: root/firmware/export/i2c-pp.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/i2c-pp.h')
-rw-r--r--firmware/export/i2c-pp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/i2c-pp.h b/firmware/export/i2c-pp.h
index 908db22554..e789c72d84 100644
--- a/firmware/export/i2c-pp.h
+++ b/firmware/export/i2c-pp.h
@@ -47,7 +47,8 @@
47 47
48/* To be used by drivers that need to do multiple i2c operations 48/* To be used by drivers that need to do multiple i2c operations
49 atomically */ 49 atomically */
50extern struct spinlock i2c_spin; 50void i2c_lock(void);
51void i2c_unlock(void);
51 52
52void i2c_init(void); 53void i2c_init(void);
53int i2c_readbyte(unsigned int dev_addr, int addr); 54int i2c_readbyte(unsigned int dev_addr, int addr);