Logger and minor changes

This commit is contained in:
seerge
2023-03-13 18:33:27 +01:00
parent a7e8ba3241
commit f0abe22b5d
6 changed files with 41 additions and 19 deletions

View File

@@ -183,7 +183,7 @@ public class ASUSWmi
if (curve.Length != 16) return;
if (curve.All(singleByte => singleByte == 0)) return;
Debug.WriteLine(BitConverter.ToString(curve));
Logger.WriteLine("Fans" + ((device == 1)?"GPU":"CPU") + " " + BitConverter.ToString(curve));
if (device == 1)
DeviceSet(DevsGPUFanCurve, curve);