clean up, rename cpu sensors struct
This commit is contained in:
@@ -9,14 +9,9 @@
|
||||
|
||||
#define N_CPU 16
|
||||
|
||||
// struct cpu_hwmon_t {
|
||||
// std::string path = "";
|
||||
// bool zenpower = false;
|
||||
// };
|
||||
|
||||
namespace cpu {
|
||||
|
||||
struct sensors {
|
||||
struct cpuSensors {
|
||||
std::string hwmon = "";
|
||||
bool zenpower = false;
|
||||
|
||||
@@ -34,8 +29,8 @@ struct sensors {
|
||||
// sensors getCpu(cpu_hwmon_t hw);
|
||||
// cpu_hwmon_t detectCpuHwmon(std::string pci);
|
||||
|
||||
void detectHwmon(sensors* target, std::string pci);
|
||||
void update(sensors* g);
|
||||
void detectHwmon(cpuSensors* target, std::string pci);
|
||||
void update(cpuSensors* g);
|
||||
|
||||
} // namespace cpu
|
||||
|
||||
|
||||
Reference in New Issue
Block a user