clean up, rename cpu sensors struct

This commit is contained in:
Drath
2025-09-22 21:10:35 +02:00
parent f7cb927a7e
commit f4fc1e1dc7
3 changed files with 6 additions and 55 deletions

View File

@@ -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