summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-12-09 00:40:51 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-12-09 00:40:51 +0000
commita4ef8e0a6fdc9f5bb75ce53f512d5f1085c0423e (patch)
tree14f5688a2c7573835c786ffafb1a6eb534921f9a /firmware/drivers
parenta3450f80a4bf0f010722a7d38831e18708556dad (diff)
PCF50606 I2C timing is now more on spec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8207 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/pcf50606.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/pcf50606.c b/firmware/drivers/pcf50606.c
index 4fe04e6171..b99b2e9e88 100644
--- a/firmware/drivers/pcf50606.c
+++ b/firmware/drivers/pcf50606.c
@@ -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;
}