forked from len0rd/rockbox
Fixed prototype of i2c_write for plugins and for i2c-telechips (fix red/yellow).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17277 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c97e503a10
commit
e5319e0e89
2 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ int i2c_getack(void)
|
|||
}
|
||||
|
||||
/* device = 8 bit slave address */
|
||||
int i2c_write(int device, unsigned char* buf, int count )
|
||||
int i2c_write(int device, const unsigned char* buf, int count )
|
||||
{
|
||||
int i = 0;
|
||||
mutex_lock(&i2c_mtx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue