2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00

(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!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@136 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Philip Edelbrock
1998-12-29 06:56:30 +00:00
parent 64f225597f
commit 7b51473a03
2 changed files with 2 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ struct w83781d_data {
u8 temp;
u8 temp_over; /* Register value */
u8 temp_hyst; /* Register value */
u8 temp_add[2]; /* Register value */
u16 temp_add[2]; /* Register value */
u16 temp_add_over[2]; /* Register value */
u16 temp_add_hyst[2]; /* Register value */
u8 fan_div[3]; /* Register encoding, shifted right */

View File

@@ -213,7 +213,7 @@ struct w83781d_data {
u8 temp;
u8 temp_over; /* Register value */
u8 temp_hyst; /* Register value */
u8 temp_add[2]; /* Register value */
u16 temp_add[2]; /* Register value */
u16 temp_add_over[2]; /* Register value */
u16 temp_add_hyst[2]; /* Register value */
u8 fan_div[3]; /* Register encoding, shifted right */