Minor fixes, Factory default profiles will apply immediately on click

This commit is contained in:
seerge
2023-02-23 14:14:11 +01:00
parent 41d92d76cc
commit 02ae48092b
6 changed files with 152 additions and 123 deletions

View File

@@ -116,7 +116,7 @@ public class ASUSWmi
BitConverter.GetBytes((uint)args.Length).CopyTo(acpiBuf, 4);
Array.Copy(args, 0, acpiBuf, 8, args.Length);
//Debug.WriteLine(BitConverter.ToString(acpiBuf, 0, acpiBuf.Length));
// if (MethodID == DEVS) Debug.WriteLine(BitConverter.ToString(acpiBuf, 0, acpiBuf.Length));
Control(CONTROL_CODE, acpiBuf, outBuffer);
@@ -161,6 +161,7 @@ public class ASUSWmi
public void SetFanCurve(int device, byte[] curve)
{
if (device == 1)
DeviceSet(DevsGPUFanCurve, curve);
else