mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Fix default fan curve buffer size
This commit is contained in:
@@ -254,7 +254,7 @@ public class AsusACPI
|
|||||||
protected byte[] CallMethod(uint MethodID, byte[] args)
|
protected byte[] CallMethod(uint MethodID, byte[] args)
|
||||||
{
|
{
|
||||||
byte[] acpiBuf = new byte[8 + args.Length];
|
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)MethodID).CopyTo(acpiBuf, 0);
|
||||||
BitConverter.GetBytes((uint)args.Length).CopyTo(acpiBuf, 4);
|
BitConverter.GetBytes((uint)args.Length).CopyTo(acpiBuf, 4);
|
||||||
|
|||||||
Reference in New Issue
Block a user