Fixed missing fan curve

This commit is contained in:
seerge
2023-03-03 14:17:09 +01:00
parent 96c85f69fe
commit e9fa181d4e
2 changed files with 3 additions and 3 deletions

View File

@@ -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));

View File

@@ -15,7 +15,7 @@
<AssemblyName>GHelper</AssemblyName>
<PlatformTarget>x64</PlatformTarget>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<AssemblyVersion>0.14.0</AssemblyVersion>
<AssemblyVersion>0.14.1</AssemblyVersion>
</PropertyGroup>
<ItemGroup>