consistency, optminization

This commit is contained in:
2026-05-11 11:02:24 +00:00
parent 574f59b8f5
commit aa57cdf651
4 changed files with 12 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
#ifndef CPU_H
#define CPU_H
#ifndef LINUXSMARTIE_CPU_H
#define LINUXSMARTIE_CPU_H
#include <stdint.h>
@@ -21,7 +21,7 @@ struct cpu_sensors_t {
// double vcore;
// double vsoc;
uint32_t avg_freq;
char hwmon[128];
char hwmon[64];
};
void cpu_detect(struct cpu_sensors_t *t, const char *pci_dev);