add some return values to some shit so it shuts down elegantly on crash
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user