Temps: support macOS

This commit is contained in:
李通洲
2022-09-25 15:23:00 +08:00
parent 47a0b8969f
commit 51c70bc44a
16 changed files with 584 additions and 30 deletions
+3
View File
@@ -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