mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-24 20:21:43 +00:00
(Phil) Minor timing adjustment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@465 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
dd4ef6c059
commit
99668fefd6
1 file changed
+3
@@ -161,10 +161,12 @@ int Voodoo3_I2CReadByte()
|
||||
clkoff();
|
||||
out();
|
||||
for (i=7; i>=0; i--) {
|
||||
out();
|
||||
out();
|
||||
clkon();
|
||||
data|=(rdat()<<i);
|
||||
out();
|
||||
out();
|
||||
clkoff();
|
||||
}
|
||||
temp=Voodoo3_I2CAck();
|
||||
@@ -190,6 +192,7 @@ int Voodoo3_I2CSendByte(unsigned char data)
|
||||
clkon();
|
||||
out();
|
||||
dat(temp);
|
||||
out();
|
||||
clkoff();
|
||||
out();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user