Add support for another AMD CPU #2140 [build]

This commit is contained in:
Ilia Ross
2024-04-30 15:51:16 +03:00
parent 9dcb1da4f5
commit fae522a28e

View File

@ -634,6 +634,14 @@ if (&has_command("sensors")) {
'temp' => int($2),
});
}
# Like in #2140
elsif (/Tctl:\s*([\+\-][0-9\.]+)/) {
push(@cpu,
{ 'core' => 0,
'temp' => int($1),
});
}
}
# New line represents another device