mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
Sansa Connect: Revise codec initialization/shutdown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31149 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4811b516a3
commit
bac6a70184
6 changed files with 219 additions and 73 deletions
|
|
@ -287,4 +287,10 @@ int i2c_read(unsigned short address, unsigned char* buf, int count)
|
|||
return i2c_read_data(dm320_i2c_bus, address, -1, buf, count);
|
||||
}
|
||||
|
||||
int i2c_read_bytes(unsigned short address, unsigned short reg,
|
||||
unsigned char* buf, int count)
|
||||
{
|
||||
return i2c_read_data(dm320_i2c_bus, address, reg, buf, count);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue