Fixes for stability checks

This commit is contained in:
IceStormNG
2024-03-02 17:00:11 +01:00
parent 6523d6ac12
commit cb685f9158

View File

@@ -452,13 +452,13 @@ namespace GHelper.AutoTDP
if (LowestStableStability > 120) if (LowestStableStability > 120)
{ {
//if stable for long time try to reduce it a bit //if stable for long time try to reduce it again
LowestStableTDP -= 0.5; LowestStableTDP = LowestTDP + (LowestTDP * 0.10); ;
LowestStableStability = 0; LowestStableStability = 0;
} }
} }
if (LowestTDP - 0.25 <= CurrentTDP && CurrentTDP >= LowestTDP + 0.25) if (LowestTDP - 0.25 <= CurrentTDP && CurrentTDP <= LowestTDP + 0.25)
{ {
LowestStableStability++; LowestStableStability++;