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

@@ -40,7 +40,7 @@ struct gpuSensors {
std::string hwmon;
};
void detectHwmon(gpuSensors* target, const std::string& pci);
int detect(gpuSensors* target, const std::string& pci);
void update(gpuSensors* g);
} // namespace gpu