Merge pull request #735 from rkmcode/main

This commit is contained in:
Jakob P. Liljenberg 2024-02-11 16:33:46 +01:00 committed by GitHub
commit 338aa72f6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -590,7 +590,7 @@ namespace Cpu {
cpuhz += " GHz"; cpuhz += " GHz";
} }
else if (hz > 0) else if (hz > 0)
cpuhz = to_string((int)round(hz)) + " MHz"; cpuhz = to_string((int)hz) + " MHz";
} }
catch (const std::exception& e) { catch (const std::exception& e) {