diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/i2c-s5l8702.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/export/i2c-s5l8702.h b/firmware/export/i2c-s5l8702.h index 02dc40d89e..3883c8abc0 100644 --- a/firmware/export/i2c-s5l8702.h +++ b/firmware/export/i2c-s5l8702.h | |||
@@ -28,5 +28,9 @@ void i2c_init(void); | |||
28 | int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned char *data); | 28 | int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned char *data); |
29 | int i2c_read(int bus, unsigned char slave, int address, int len, unsigned char *data); | 29 | int i2c_read(int bus, unsigned char slave, int address, int len, unsigned char *data); |
30 | 30 | ||
31 | #endif /* _I2C_S5l8702_H */ | 31 | #ifdef BOOTLOADER |
32 | int i2c_wr(int bus, unsigned char slave, int address, int len, const unsigned char *data); | ||
33 | int i2c_rd(int bus, unsigned char slave, int address, int len, unsigned char *data); | ||
34 | #endif | ||
32 | 35 | ||
36 | #endif /* _I2C_S5l8702_H */ | ||