mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2024-11-21 15:57:25 -06:00
fix logic error when adding voltage-frequency nodes
This commit is contained in:
parent
8bfaf3e0d5
commit
e4e3fa95bb
@ -467,8 +467,8 @@ std::vector<TreeNode<DeviceNode>> getVoltFreqVolt(AMDGPUData data) {
|
||||
std::vector<TreeNode<DeviceNode>> getVoltFreqNodes(AMDGPUData data) {
|
||||
// Root item for voltage and frequency of a point
|
||||
std::vector<TreeNode<DeviceNode>> retval;
|
||||
if (!data.ppTableType.has_value() || *data.ppTableType != Navi ||
|
||||
*data.ppTableType != SMU13)
|
||||
if (!data.ppTableType.has_value() &&
|
||||
(*data.ppTableType != Navi && *data.ppTableType != SMU13))
|
||||
return {};
|
||||
|
||||
auto path = data.hwmonPath + "/pp_od_clk_voltage";
|
||||
|
Loading…
Reference in New Issue
Block a user