diff options
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c b/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c index 1cdcb639bc..dadea65599 100644 --- a/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c +++ b/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c @@ -187,7 +187,7 @@ L_timeout: return -1; } -int i2c_write(int device, unsigned char *buf, int count) +int i2c_write(int device, const unsigned char *buf, int count) { int cnt = count; int timeout = 5; |