diff options
Diffstat (limited to 'firmware/export/i2c.h')
| -rw-r--r-- | firmware/export/i2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/i2c.h b/firmware/export/i2c.h index ed9a5e6..ba694d0 100644 --- a/firmware/export/i2c.h +++ b/firmware/export/i2c.h @@ -22,7 +22,7 @@ extern void i2c_init(void); extern void i2c_begin(void); extern void i2c_end(void); -extern int i2c_write(int device, unsigned char* buf, int count ); +extern int i2c_write(int device, const unsigned char* buf, int count ); extern int i2c_read(int device, unsigned char* buf, int count ); extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); extern void i2c_outb(unsigned char byte); |