mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Use watts as double to have more fine grained control
This commit is contained in:
@@ -36,7 +36,7 @@ namespace GHelper.AutoTDP.PowerLimiter
|
||||
PowerUnit = 1 / Math.Pow(2, pwr);
|
||||
}
|
||||
|
||||
public void SetCPUPowerLimit(int watts)
|
||||
public void SetCPUPowerLimit(double watts)
|
||||
{
|
||||
uint eax = 0;
|
||||
uint edx = 0;
|
||||
|
||||
Reference in New Issue
Block a user