# HG changeset patch # User moel.mich # Date 1267964241 0 # Node ID be9bbc35088409bf5fee076a9a5c92c79d63de2b # Parent 20c1378e0ede5ea96a99dd4809da26960ae9e952 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). diff -r 20c1378e0ede -r be9bbc350884 Hardware/TBalancer/TBalancer.cs --- a/Hardware/TBalancer/TBalancer.cs Sun Mar 07 11:28:18 2010 +0000 +++ b/Hardware/TBalancer/TBalancer.cs Sun Mar 07 12:17:21 2010 +0000 @@ -233,7 +233,7 @@ }); 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]);