mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-23 11:54:33 +00:00
fix sensor type reporting. Thermistor would report as invalid
and vice versa. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2168 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
17af026df9
commit
e8df7faa30
1 file changed
+1
-1
+1
-1
@@ -713,7 +713,7 @@ static void it87_update_client(struct i2c_client *client)
|
||||
tmp2 = (tmp >> i) & 0x09;
|
||||
if(tmp2 == 0x01)
|
||||
data->sens[i] = PIIDIODE;
|
||||
else if(tmp2 == 0x09)
|
||||
else if(tmp2 == 0x08)
|
||||
data->sens[i] = THERMISTOR;
|
||||
else
|
||||
data->sens[i] = INVALID;
|
||||
|
||||
Reference in new issue
Block a user