summaryrefslogtreecommitdiff
path: root/common/soft_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/soft_i2c.c')
-rw-r--r--common/soft_i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/soft_i2c.c b/common/soft_i2c.c
index 7777480..6357404 100644
--- a/common/soft_i2c.c
+++ b/common/soft_i2c.c
@@ -287,8 +287,9 @@ int i2c_probe(uchar addr)
{
int rc;
+ /* perform 1 byte read transaction */
send_start();
- rc = write_byte ((addr << 1) | 1);
+ rc = write_byte ((addr << 1) | 0);
send_stop();
return (rc ? 1 : 0);