Minor fixes

This commit is contained in:
seerge
2023-04-02 11:56:59 +02:00
parent 75c397d7a4
commit 5d86c821f6
7 changed files with 49 additions and 31 deletions

View File

@@ -78,7 +78,7 @@ public static class HardwareMonitor
Logger.WriteLine(ex.ToString());
}
if (gpuTemp < 0)
if (gpuTemp is null || gpuTemp < 0)
gpuTemp = Program.wmi.DeviceGet(ASUSWmi.Temp_GPU);