Fix reporting temp of AMD zen4 CPUs, zen4 doesn't use Tdie, use Tctl instead

pull/897/head
Alessandro Toia 1 year ago
parent a67ba60773
commit edac405d57

@ -437,7 +437,8 @@ bool CPUStats::GetCpuFile() {
break;
}
else if ((name == "zenpower" || name == "k10temp")) {
find_temp_input(path, input, "Tdie");
if (!find_temp_input(path, input, "Tdie"))
find_temp_input(path, input, "Tctl");
break;
} else if (name == "atk0110") {
find_temp_input(path, input, "CPU Temperature");

Loading…
Cancel
Save