mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-04 21:58:18 +00:00
libsensors support (untested). also, I haven't added anything to
sensors-detect yet. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1441 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
15fd257b64
commit
70677ba796
6 files changed
+134
-5
No files matched your search
+5
-5
@@ -186,11 +186,11 @@ static void lm92_temp (struct i2c_client *client,int operation,int ctl_name,int
|
||||
|
||||
if (operation == SENSORS_PROC_REAL_READ) {
|
||||
lm92_read (client);
|
||||
results[0] = NATIVE_TO_PROC (data->temp.high);
|
||||
results[1] = NATIVE_TO_PROC (data->temp.low);
|
||||
results[2] = NATIVE_TO_PROC (data->temp.crit);
|
||||
results[3] = NATIVE_TO_PROC (data->temp.hyst);
|
||||
results[4] = NATIVE_TO_PROC (data->temp.input);
|
||||
results[0] = NATIVE_TO_PROC (data->temp.input);
|
||||
results[1] = NATIVE_TO_PROC (data->temp.high);
|
||||
results[2] = NATIVE_TO_PROC (data->temp.low);
|
||||
results[3] = NATIVE_TO_PROC (data->temp.crit);
|
||||
results[4] = NATIVE_TO_PROC (data->temp.hyst);
|
||||
*nrels_mag = 5;
|
||||
} else if (operation == SENSORS_PROC_REAL_WRITE && *nrels_mag == 4) {
|
||||
data->temp.high = PROC_TO_NATIVE (results[0]);
|
||||
|
||||
Reference in new issue
Block a user