[all] refactor cpuInfo function names

This commit is contained in:
Geoffrey McRae
2023-11-19 01:22:09 +11:00
parent 750cab83a3
commit 5d4c1d348c
6 changed files with 11 additions and 10 deletions

View File

@@ -21,14 +21,14 @@
#include "common/cpuinfo.h"
#include "common/debug.h"
void lgDebugCPU(void)
void cpuInfo_log(void)
{
char model[1024];
int procs;
int cores;
int sockets;
if (!lgCPUInfo(model, sizeof model, &procs, &cores, &sockets))
if (!cpuInfo_get(model, sizeof model, &procs, &cores, &sockets))
{
DEBUG_WARN("Failed to get CPU information");
return;