2
0
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:
Jean Delvare
2004-05-02 13:49:14 +00:00
parent 6ac599754a
commit 4ef5ecd429
3 changed files with 6 additions and 9 deletions

View File

@@ -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;