Skip to content

Commit

Permalink
fixed crash when TDP hex value was more than 3 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Valkirie committed May 20, 2021
1 parent 898fee3 commit 19d292a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DockerForm/PowerProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ public string GetName()

public string GetLongPowerMax()
{
return TurboBoostLongPowerMaxHex;
return TurboBoostLongPowerMaxHex.GetLast(3);
}

public string GetShortPowerMax()
{
return TurboBoostShortPowerMaxHex;
return TurboBoostShortPowerMaxHex.GetLast(3);
}

public string GetVoltageCPU()
Expand Down

0 comments on commit 19d292a

Please sign in to comment.