mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-10 16:30:50 +00:00
Fix pc87366 temp alarms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2484 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
cf3e2b8cef
commit
23eed72eb1
1 file changed
+8
-2
@@ -4280,6 +4280,8 @@ void print_pc87366(const sensors_chip_name *name)
|
||||
if (valid) {
|
||||
print_label(label, 10);
|
||||
print_temp_info(cur, 0, 0, SINGLE, 0, 0);
|
||||
if (alarms&(1<<1))
|
||||
printf("ALARM");
|
||||
printf("\n");
|
||||
}
|
||||
} else
|
||||
@@ -4293,7 +4295,7 @@ void print_pc87366(const sensors_chip_name *name)
|
||||
if (valid) {
|
||||
print_label(label, 10);
|
||||
print_temp_info(cur, max, min, MINMAX, 0, 0);
|
||||
if (alarms&(1<<1))
|
||||
if (alarms&(1<<2))
|
||||
printf("ALARM");
|
||||
printf("\n");
|
||||
}
|
||||
@@ -4306,6 +4308,8 @@ void print_pc87366(const sensors_chip_name *name)
|
||||
if (valid) {
|
||||
print_label(label, 10);
|
||||
print_temp_info(cur, 0, 0, SINGLE, 0, 0);
|
||||
if (alarms&(1<<3))
|
||||
printf("ALARM");
|
||||
printf("\n");
|
||||
}
|
||||
} else
|
||||
@@ -4320,7 +4324,7 @@ void print_pc87366(const sensors_chip_name *name)
|
||||
if (valid) {
|
||||
print_label(label, 10);
|
||||
print_temp_info(cur, max, min, MINMAX, 0, 0);
|
||||
if (alarms&(1<<2))
|
||||
if (alarms&(1<<4))
|
||||
printf("ALARM");
|
||||
printf("\n");
|
||||
}
|
||||
@@ -4333,6 +4337,8 @@ void print_pc87366(const sensors_chip_name *name)
|
||||
if (valid) {
|
||||
print_label(label, 10);
|
||||
print_temp_info(cur, 0, 0, SINGLE, 0, 0);
|
||||
if (alarms&(1<<5))
|
||||
printf("ALARM");
|
||||
printf("\n");
|
||||
}
|
||||
} else
|
||||
|
||||
Reference in new issue
Block a user