mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Fixed missing fan curve
This commit is contained in:
4
Fans.cs
4
Fans.cs
@@ -235,8 +235,8 @@ namespace GHelper
|
||||
if (def == 1 || curve.Length != 16)
|
||||
curve = Program.wmi.GetFanCurve(device, mode);
|
||||
|
||||
if (curve.All(singleByte => singleByte == 0))
|
||||
Program.config.getDefaultCurve(device);
|
||||
if (curve.Length != 16 || curve.All(singleByte => singleByte == 0))
|
||||
curve = Program.config.getDefaultCurve(device);
|
||||
|
||||
//Debug.WriteLine(BitConverter.ToString(curve));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user