Cleanup, more documentation

This commit is contained in:
2022-09-27 22:50:01 +02:00
parent df943620d6
commit 0e75299c20
5 changed files with 52 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ int HwmonFan::rpm() { return mRpmSensor->value(); }
json HwmonFan::toJson() const {
json obj;
obj = {mPWMControl->toJson(), mRpmSensor->toJson()};
obj = {mPWMControl->toJson(), mRpmSensor->toJson(), mLabel};
return obj;
}