Changeset 136

Show
Ignore:
Timestamp:
12/29/98 07:56:30 (14 years ago)
Author:
phil
Message:

(Phil) Fixed a simple (but serious) problem with the temp2 and temp3
readings. (changed a u8 to a u16 in the data struct.) Now the temp
readings seem to work perfectly!

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/w83781d.c

    r131 r136  
    214214         u8 temp_over;               /* Register value */ 
    215215         u8 temp_hyst;               /* Register value */ 
    216          u8 temp_add[2];             /* Register value */ 
     216         u16 temp_add[2];             /* Register value */ 
    217217         u16 temp_add_over[2];       /* Register value */ 
    218218         u16 temp_add_hyst[2];       /* Register value */ 
  • lm-sensors/trunk/src/w83781d.c

    r131 r136  
    214214         u8 temp_over;               /* Register value */ 
    215215         u8 temp_hyst;               /* Register value */ 
    216          u8 temp_add[2];             /* Register value */ 
     216         u16 temp_add[2];             /* Register value */ 
    217217         u16 temp_add_over[2];       /* Register value */ 
    218218         u16 temp_add_hyst[2];       /* Register value */