mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
Fix spurious critical temperature alarm.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4892 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -3,6 +3,7 @@ lm-sensors CHANGES file
|
||||
|
||||
SVN
|
||||
sensord: Log the error code on failure
|
||||
sensors: Fix spurious critical temperature alarm
|
||||
|
||||
3.0.0-rc1 (2007-09-25)
|
||||
Initial release
|
||||
|
@@ -246,8 +246,7 @@ static void print_chip_temp(const sensors_chip_name *name,
|
||||
|
||||
sf = sensors_get_subfeature(name, feature,
|
||||
SENSORS_SUBFEATURE_TEMP_CRIT_ALARM);
|
||||
if (sf && get_value(name, sf->number))
|
||||
alarm |= 1;
|
||||
alarm = sf && get_value(name, sf->number);
|
||||
|
||||
printf("\n%*s", label_size + 10, "");
|
||||
print_temp_limits(limit1, limit2, s1, s2, alarm);
|
||||
|
Reference in New Issue
Block a user