Fix Deck CPU min clock min value being saved and shown in UI with clamped value
This commit is contained in:
parent
40b46337b4
commit
05f927dc0f
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ impl Cpu {
|
||||||
if let Some(clock_limits) = &mut self.clock_limits {
|
if let Some(clock_limits) = &mut self.clock_limits {
|
||||||
if let Some(min) = clock_limits.min {
|
if let Some(min) = clock_limits.min {
|
||||||
clock_limits.min =
|
clock_limits.min =
|
||||||
Some(min.clamp(self.limits.clock_min.min, self.limits.clock_min.max));
|
Some(min.clamp(self.limits.clock_max.min, self.limits.clock_min.max));
|
||||||
}
|
}
|
||||||
if let Some(max) = clock_limits.max {
|
if let Some(max) = clock_limits.max {
|
||||||
clock_limits.max =
|
clock_limits.max =
|
||||||
|
|
Loading…
Reference in a new issue