consistency, optminization
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user