1
0
Fork 0
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:
Linus Nielsen Feltzing 2005-12-09 00:40:51 +00:00
parent a3450f80a4
commit a4ef8e0a6f

View file

@ -86,6 +86,7 @@ static int pcf50606_i2c_getack(void)
int ret = 1; int ret = 1;
SDA_INPUT; /* And set to input */ SDA_INPUT; /* And set to input */
DELAY;
SCL_HI; SCL_HI;
if (SDA) if (SDA)
@ -96,6 +97,7 @@ static int pcf50606_i2c_getack(void)
SCL_LO; SCL_LO;
SDA_HI; SDA_HI;
SDA_OUTPUT; SDA_OUTPUT;
DELAY;
return ret; return ret;
} }