mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-05 22:08:19 +00:00
Several minor things
* sensors.conf.eg now contains LM80 declarations * i2c/i2c-core.c again displays which adapters and clients are found and connected, but it does not track the calls to transfer functions in dmesg * Slight alarms computation bug in lm78.c repaired * First hacks at lm80.c; expect a fully working version later today git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@113 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
f3cfdfa7a5
commit
e1a28393b3
7 files changed
+129
-47
No files matched your search
+1
-1
@@ -720,7 +720,7 @@ void lm78_update_client(struct i2c_client *client)
|
||||
data->fan_div[0] = (i >> 4) & 0x03;
|
||||
data->fan_div[1] = i >> 6;
|
||||
data->alarms = lm78_read_value(client,LM78_REG_ALARM1) +
|
||||
(lm78_read_value(client,LM78_REG_ALARM2) >> 8);
|
||||
(lm78_read_value(client,LM78_REG_ALARM2) << 8);
|
||||
data->last_updated = jiffies;
|
||||
data->valid = 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user