Merge pull request #1153 from charlespeng/fix-default-fan-curve-buffer-size

Fix default fan curve buffer size
This commit is contained in:
Serge
2023-08-22 10:28:04 +02:00
committed by GitHub

View File

@@ -254,7 +254,7 @@ public class AsusACPI
protected byte[] CallMethod(uint MethodID, byte[] args)
{
byte[] acpiBuf = new byte[8 + args.Length];
byte[] outBuffer = new byte[20];
byte[] outBuffer = new byte[16];
BitConverter.GetBytes((uint)MethodID).CopyTo(acpiBuf, 0);
BitConverter.GetBytes((uint)args.Length).CopyTo(acpiBuf, 4);