forked from len0rd/rockbox
PCF50606 I2C timing is now more on spec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8207 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a3450f80a4
commit
a4ef8e0a6f
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,7 @@ static int pcf50606_i2c_getack(void)
|
|||
int ret = 1;
|
||||
|
||||
SDA_INPUT; /* And set to input */
|
||||
DELAY;
|
||||
SCL_HI;
|
||||
|
||||
if (SDA)
|
||||
|
@ -96,6 +97,7 @@ static int pcf50606_i2c_getack(void)
|
|||
SCL_LO;
|
||||
SDA_HI;
|
||||
SDA_OUTPUT;
|
||||
DELAY;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue