mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
use print_temp_info() for ds1621.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@959 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -131,8 +131,7 @@ void print_ds1621(const sensors_chip_name *name)
|
||||
!sensors_get_feature(*name,SENSORS_DS1621_TEMP_OVER,&over)) {
|
||||
if (valid) {
|
||||
print_label(label,10);
|
||||
printf("%6.1f C (high limit: %6.1f C, low limit: %6.1f C) ",
|
||||
cur,over,hyst);
|
||||
print_temp_info( cur, over, hyst, MINMAX );
|
||||
if (alarms & (DS1621_ALARM_TEMP_HIGH | DS1621_ALARM_TEMP_LOW)) {
|
||||
printf("ALARM (");
|
||||
if (alarms & DS1621_ALARM_TEMP_LOW) {
|
||||
|
Reference in New Issue
Block a user