From 28372ca61080551e8a649e01cf444f7c8eefd2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=B6ller?= Date: Sun, 7 Mar 2010 12:17:21 +0000 Subject: [PATCH] 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). --- Hardware/TBalancer/TBalancer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hardware/TBalancer/TBalancer.cs b/Hardware/TBalancer/TBalancer.cs index e36074b..1d31faa 100644 --- a/Hardware/TBalancer/TBalancer.cs +++ b/Hardware/TBalancer/TBalancer.cs @@ -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]);