From e6c59283c1edb54d1b429583f7cc0c1dcb61ffc6 Mon Sep 17 00:00:00 2001 From: Charles Peng Date: Tue, 22 Aug 2023 15:08:30 +0800 Subject: [PATCH] Fix default fan curve buffer size --- app/AsusACPI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/AsusACPI.cs b/app/AsusACPI.cs index 96f5d79c..4d9fa1da 100644 --- a/app/AsusACPI.cs +++ b/app/AsusACPI.cs @@ -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);