mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 22:05:11 +00:00
Inverse beep bits of the as99127f in the driver rather than in the
user-space. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2504 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -2100,9 +2100,6 @@ void print_w83781d(const sensors_chip_name *name)
|
||||
|
||||
if (!sensors_get_feature(*name,SENSORS_W83781D_BEEPS,&cur)) {
|
||||
beeps = cur + 0.5;
|
||||
/* strangely, as99127f beep bits are inverted */
|
||||
if (!strcmp(name->prefix,"as99127f"))
|
||||
beeps = ~beeps;
|
||||
} else {
|
||||
printf("ERROR: Can't get beep data!\n");
|
||||
beeps = 0;
|
||||
|
Reference in New Issue
Block a user