mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix some evil whitespace
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29243 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
91f9b0b8ca
commit
597e01bd08
1 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ void i2c_init()
|
|||
int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned char *data)
|
||||
{
|
||||
mutex_lock(&i2c_mtx[bus]);
|
||||
i2c_on(bus);
|
||||
i2c_on(bus);
|
||||
long timeout = current_tick + HZ / 50;
|
||||
|
||||
/* START */
|
||||
|
@ -123,7 +123,7 @@ int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned
|
|||
return 5;
|
||||
}
|
||||
|
||||
i2c_off(bus);
|
||||
i2c_off(bus);
|
||||
mutex_unlock(&i2c_mtx[bus]);
|
||||
return 0;
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned
|
|||
int i2c_read(int bus, unsigned char slave, int address, int len, unsigned char *data)
|
||||
{
|
||||
mutex_lock(&i2c_mtx[bus]);
|
||||
i2c_on(bus);
|
||||
i2c_on(bus);
|
||||
long timeout = current_tick + HZ / 50;
|
||||
|
||||
if (address >= 0) {
|
||||
|
@ -189,7 +189,7 @@ int i2c_read(int bus, unsigned char slave, int address, int len, unsigned char *
|
|||
return 5;
|
||||
}
|
||||
|
||||
i2c_off(bus);
|
||||
i2c_off(bus);
|
||||
mutex_unlock(&i2c_mtx[bus]);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue