diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-12-09 00:40:51 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-12-09 00:40:51 +0000 |
commit | a4ef8e0a6fdc9f5bb75ce53f512d5f1085c0423e (patch) | |
tree | 14f5688a2c7573835c786ffafb1a6eb534921f9a | |
parent | a3450f80a4bf0f010722a7d38831e18708556dad (diff) | |
download | rockbox-a4ef8e0a6fdc9f5bb75ce53f512d5f1085c0423e.tar.gz rockbox-a4ef8e0a6fdc9f5bb75ce53f512d5f1085c0423e.zip |
PCF50606 I2C timing is now more on spec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8207 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/pcf50606.c | 2 |
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) | |||
86 | int ret = 1; | 86 | int ret = 1; |
87 | 87 | ||
88 | SDA_INPUT; /* And set to input */ | 88 | SDA_INPUT; /* And set to input */ |
89 | DELAY; | ||
89 | SCL_HI; | 90 | SCL_HI; |
90 | 91 | ||
91 | if (SDA) | 92 | if (SDA) |
@@ -96,6 +97,7 @@ static int pcf50606_i2c_getack(void) | |||
96 | SCL_LO; | 97 | SCL_LO; |
97 | SDA_HI; | 98 | SDA_HI; |
98 | SDA_OUTPUT; | 99 | SDA_OUTPUT; |
100 | DELAY; | ||
99 | 101 | ||
100 | return ret; | 102 | return ret; |
101 | } | 103 | } |