add some return values to some shit so it shuts down elegantly on crash

This commit is contained in:
2026-01-15 00:19:53 +01:00
parent 6297317f93
commit 7929a687e8
11 changed files with 105 additions and 64 deletions

View File

@@ -25,7 +25,7 @@ struct cpuSensors {
std::string hwmon;
};
void detectHwmon(cpuSensors* target, const std::string& pci);
int detect(cpuSensors* target, const std::string& pci);
void update(cpuSensors* c);
} // namespace cpu