Fan curve auto apply

This commit is contained in:
seerge
2023-03-02 00:07:07 +01:00
parent f59070cb96
commit e68282050b
6 changed files with 133 additions and 73 deletions

View File

@@ -169,6 +169,11 @@ public class ASUSWmi
public void SetFanCurve(int device, byte[] curve)
{
if (curve.Length != 16) return;
if (curve.All(singleByte => singleByte == 0)) return;
Debug.WriteLine(BitConverter.ToString(curve));
if (device == 1)
DeviceSet(DevsGPUFanCurve, curve);
else