mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-09-01 14:55:13 +00:00
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:
@@ -233,7 +233,7 @@ namespace OpenHardwareMonitor.Hardware.TBalancer {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if ((data[136] & (1 << i)) == 0) // pwm mode
|
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
|
else // analog mode
|
||||||
fans[i].Value = fans[i].Parameters[0].Value * 0.01f * data[141 + i];
|
fans[i].Value = fans[i].Parameters[0].Value * 0.01f * data[141 + i];
|
||||||
ActivateSensor(fans[i]);
|
ActivateSensor(fans[i]);
|
||||||
|
Reference in New Issue
Block a user