fix: fix voltage offset config apply (0 iq bug)

This commit is contained in:
bisspector 2023-11-21 21:04:46 +01:00 committed by Ilya Zlobintsev
parent 3d2e4e053e
commit 55b7885f77

View File

@ -79,6 +79,7 @@ impl Gpu {
self.max_core_clock,
self.max_memory_clock,
self.min_voltage,
self.voltage_offset,
]
.iter()
.any(Option::is_some)
@ -100,6 +101,7 @@ impl Gpu {
self.max_core_clock = None;
self.max_memory_clock = None;
self.max_voltage = None;
self.voltage_offset = None;
assert!(!self.is_core_clocks_used());
}