mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 22:40:54 +01:00
CPU (FreeBSD): fix cpu temperature detection
This commit is contained in:
1 parent
553b0fe8cc
commit
3381062ab9
1 file changed
+1
-1
@@ -46,7 +46,7 @@ const char* ffDetectCPUImpl(const FFCPUOptions* options, FFCPUResult* cpu)
|
||||
|
||||
if (options->temp)
|
||||
{
|
||||
if (!ffDetectCpuTemp(&cpu->temperature))
|
||||
if (ffDetectCpuTemp(&cpu->temperature) != NULL)
|
||||
ffDetectThermalTemp(&cpu->temperature);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user