Resetting custom fan curve on XGM on disconnect https://github.com/seerge/g-helper/issues/1123
This commit is contained in:
Serge
2023-08-19 12:40:30 +02:00
parent e2596ed9cb
commit f545d48179
2 changed files with 5 additions and 1 deletions

View File

@@ -83,7 +83,7 @@ public static class HardwareControl
if (fan < 0)
{
fan += 65536;
if (fan <= 0 || fan > 100) return null; //nothing reasonable
if (fan < 0 || fan > 100) return null; //nothing reasonable
}
if (fan > fanMax && fan <= INADEQUATE_MAX) fanMax = fan;