Re-apply temp-limit

This commit is contained in:
Serge
2023-06-27 13:42:06 +02:00
parent 5b5cd0e97a
commit 1a12162ba1
9 changed files with 64 additions and 42 deletions

View File

@@ -1,7 +1,6 @@
using GHelper.Display;
using GHelper.Gpu.NVidia;
using GHelper.Helpers;
using GHelper.Mode;
using System.Diagnostics;
namespace GHelper.Gpu
@@ -9,7 +8,6 @@ namespace GHelper.Gpu
public class GPUModeControl
{
static SettingsForm settings = Program.settingsForm;
ModeControl modeControl = new ModeControl();
ScreenControl screenControl = new ScreenControl();
public void InitGPUMode()
@@ -153,7 +151,7 @@ namespace GHelper.Gpu
{
await Task.Delay(TimeSpan.FromMilliseconds(3000));
HardwareControl.RecreateGpuControl();
modeControl.SetGPUClocks(false);
Program.modeControl.SetGPUClocks(false);
}
});