From cb685f915895a33a64a376824ee8b645ac97f53b Mon Sep 17 00:00:00 2001 From: IceStormNG Date: Sat, 2 Mar 2024 17:00:11 +0100 Subject: [PATCH] Fixes for stability checks --- app/AutoTDP/AutoTDPService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/AutoTDP/AutoTDPService.cs b/app/AutoTDP/AutoTDPService.cs index caa705ab..234d6799 100644 --- a/app/AutoTDP/AutoTDPService.cs +++ b/app/AutoTDP/AutoTDPService.cs @@ -452,13 +452,13 @@ namespace GHelper.AutoTDP if (LowestStableStability > 120) { - //if stable for long time try to reduce it a bit - LowestStableTDP -= 0.5; + //if stable for long time try to reduce it again + LowestStableTDP = LowestTDP + (LowestTDP * 0.10); ; LowestStableStability = 0; } } - if (LowestTDP - 0.25 <= CurrentTDP && CurrentTDP >= LowestTDP + 0.25) + if (LowestTDP - 0.25 <= CurrentTDP && CurrentTDP <= LowestTDP + 0.25) { LowestStableStability++;