Relabel fan tach inventory items for clarity in the Web UI

parent 5cf2d72d
diff --git a/monitor/tach_sensor.cpp b/monitor/tach_sensor.cpp
index 5494450..6832ffe 100644
--- a/monitor/tach_sensor.cpp
+++ b/monitor/tach_sensor.cpp
@@ -81,7 +81,7 @@ TachSensor::TachSensor(Mode mode,
_bus(bus),
_fan(fan),
_name(FAN_SENSOR_PATH + id),
- _invName(path(fan.getName()) / id),
+ _invName(path(fan.getName()) / (id + "tach")),
_hasTarget(hasTarget),
_funcDelay(funcDelay),
_interface(interface),
......@@ -5,6 +5,8 @@ FAN_PACKAGES += " \
phosphor-cooling-type \
"
SRC_URI += "file://label-fan-tachs-in-inventory.patch"
PACKAGECONFIG += "cooling-type"
RDEPENDS_phosphor-cooling-type += "libevdev"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment