mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +00:00
(mds) fix compile error of mine. Thanks Axel.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2817 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
987686721c
commit
e958e52598
2 files changed
+2
-1
No files matched your search
@@ -18,6 +18,7 @@ ask CVS about it:
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
2.9.1 (2005????)
|
||||
Module bmcsensors: Fix compile error
|
||||
|
||||
2.9.0 (20041228)
|
||||
NOTE: Requires i2c-2.9.0 or newer!
|
||||
|
||||
@@ -297,7 +297,7 @@ static void bmcsensors_select_thresholds(struct sdrdata * sd)
|
||||
}
|
||||
|
||||
/* swap lim1/lim2 if m < 0 or function is 1/x (but not both!) */
|
||||
if(m < 0 && sd->linear != 7 || m >= 0 && sd->linear == 7) {
|
||||
if(sd->m < 0 && sd->linear != 7 || sd->m >= 0 && sd->linear == 7) {
|
||||
tmp = sd->lim1;
|
||||
sd->lim1 = sd->lim2;
|
||||
sd->lim2 = tmp;
|
||||
|
||||
Reference in new issue
Block a user