bugfix: small tweak to VID calculation for VRM v10.0

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2688 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark M. Hoffman committed 2004-09-15 13:21:47 +00:00
1 parent 6c96e6495b
commit 35729048e9
1 file changed
+1 -1
+1 -1
View File
@@ -67,7 +67,7 @@ static inline int vid_from_reg(int val, int vrm)
else
vid = 18625 - (val & 0x1f) * 250;
if(val & 0x20)
vid += 125;
vid -= 125;
vid /= 10; /* only return 3 dec. places for now */
return vid;