2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

fixed RT-table bug. Still undef'ed though by default.

For those who are interested the default RT table is apparently
1 0 0 69 57 48 39 32 25 19 12 6 255 247 237 0 1 0 0 12 9 9 7 7 7 7 6 7 8 10 14 0.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@339 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
1999-03-24 00:00:21 +00:00
parent 66d89242d4
commit 3561a27e51

View File

@@ -1081,6 +1081,7 @@ void w83781d_init_client(struct i2c_client *client)
*/
if(wchipid == W83781D_WCHIPID) {
u16 k = 0;
/*
Auto-indexing doesn't seem to work...
w83781d_write_value(client,W83781D_REG_RT_IDX,0);
@@ -1088,7 +1089,6 @@ void w83781d_init_client(struct i2c_client *client)
for (i = 0; i < 3; i++) {
int j;
for (j = 0; j < 32; j++) {
u16 k = 0;
w83781d_write_value(client,W83781D_REG_RT_IDX,k++);
data->rt[i][j] = w83781d_read_value(client,W83781D_REG_RT_VAL);
}