Changed the T-Balancer fields for the actual PWM (percent) value of the channels from 156+ to 137+, because on some (older?) hardware the fields 156+ seem not to be updated. Fields 137+ have one bit less resolution, but it's what the Navigator uses as well (and used only if in PWM mode).

This commit is contained in:
Michael Möller 2010-03-07 12:17:21 +00:00
parent 717ecb868d
commit 28372ca610

View File

@ -233,7 +233,7 @@ namespace OpenHardwareMonitor.Hardware.TBalancer {
});
if ((data[136] & (1 << i)) == 0) // pwm mode
fans[i].Value = fans[i].Parameters[0].Value * 0.01f * data[156 + i];
fans[i].Value = fans[i].Parameters[0].Value * 0.02f * data[137 + i];
else // analog mode
fans[i].Value = fans[i].Parameters[0].Value * 0.01f * data[141 + i];
ActivateSensor(fans[i]);