(Kyösti)

*  Use write-address to detect devices on the bus.

 Simple clients that you can't read, don't ack the read address.
 I believe every client has to ack their write address?


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@500 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Kyosti Malkki committed 1999-07-21 09:35:40 +00:00
1 parent 3014204a0d
commit 0bf0482e56
1 file changed
+1 -1
+1 -1
View File
@@ -78,7 +78,7 @@ int main(int argc, char *argv[])
exit(1);
}
res = i2c_smbus_read_byte(file);
res = i2c_smbus_write_quick(file, I2C_SMBUS_WRITE);
if (res < 0)
printf("XX ");
else