mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 05:04:17 +01:00
Temps: support macOS
This commit is contained in:
@@ -36,6 +36,9 @@ void ffPrintCPU(FFinstance* instance)
|
||||
if(cpu->frequencyMax > 0.0)
|
||||
printf(" @ %.9g GHz", cpu->frequencyMax);
|
||||
|
||||
if(cpu->temperature == cpu->temperature) //FF_CPU_TEMP_UNSET
|
||||
printf(" - %.1f°C", cpu->temperature);
|
||||
|
||||
putchar('\n');
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user