Skip to content

Commit

Permalink
Merge branch 'main' of github.com:aristocratos/btop
Browse files Browse the repository at this point in the history
  • Loading branch information
aristocratos committed Oct 26, 2021
2 parents 1e374b1 + 383932a commit ce2a279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/btop_collect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ namespace Cpu {
if (not got_coretemp or core_sensors.empty()) cpu_temp_only = true;
if (cpu_sensor.empty() and not found_sensors.empty()) {
for (const auto& [name, sensor] : found_sensors) {
if (s_contains(str_to_lower(name), "cpu")) {
if (s_contains(str_to_lower(name), "cpu") or s_contains(str_to_lower(name), "k10temp")) {
cpu_sensor = name;
break;
}
Expand Down

0 comments on commit ce2a279

Please sign in to comment.