mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-10 16:30:50 +00:00
ADM9240/DS1780 documentation and library support
* Readings for the ADM9240 are now updated every 0.5 seconds; for the DS1780, every 2.0 seconds. * I still think it likely that voltage readings will be far-off in the current implementation git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@401 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
d70c450c78
commit
084ee510ab
4 files changed
+364
-5
No files matched your search
@@ -549,7 +549,7 @@ void adm9240_update_client(struct i2c_client *client)
|
||||
|
||||
down(&data->update_lock);
|
||||
|
||||
if ((jiffies - data->last_updated > 2*HZ ) ||
|
||||
if ((jiffies - data->last_updated > (data->type == adm9240?HZ/2:HZ*2) ) ||
|
||||
(jiffies < data->last_updated) || ! data->valid) {
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in new issue
Block a user