mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
fix ALARMS macro in adm1021 section
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1330 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -173,7 +173,7 @@ void print_adm1021(const sensors_chip_name *name)
|
||||
double cur,hyst,over;
|
||||
int alarms,i,valid;
|
||||
|
||||
if (!sensors_get_feature(*name,SENSORS_LM78_ALARMS,&cur))
|
||||
if (!sensors_get_feature(*name,SENSORS_ADM1021_ALARMS,&cur))
|
||||
alarms = cur + 0.5;
|
||||
else {
|
||||
printf("ERROR: Can't get alarm data!\n");
|
||||
|
Reference in New Issue
Block a user