Fix copy/paste errors in sensor type interfaces
CFMSensor, IpmbSensor, and MCUTempSensor had been identifying themselves
as ExitAirTemp sensors, presumably due to having been copy/pasted and
incompletely modified when they were first added.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Id725d2fd3d1290b60399b1832e7912cf8a690e39
diff --git a/src/ExitAirTempSensor.cpp b/src/ExitAirTempSensor.cpp
index 3c1d7e4..1e0f45f 100644
--- a/src/ExitAirTempSensor.cpp
+++ b/src/ExitAirTempSensor.cpp
@@ -161,7 +161,7 @@
std::vector<thresholds::Threshold>&& thresholdData,
std::shared_ptr<ExitAirTempSensor>& parent) :
Sensor(escapeName(sensorName), std::move(thresholdData),
- sensorConfiguration, "xyz.openbmc_project.Configuration.ExitAirTemp",
+ sensorConfiguration, "xyz.openbmc_project.Configuration.CFMSensor",
false, false, cfmMaxReading, cfmMinReading, conn, PowerState::on),
parent(parent), objServer(objectServer)
{
diff --git a/src/IpmbSensor.cpp b/src/IpmbSensor.cpp
index dfec16b..6c8bace 100644
--- a/src/IpmbSensor.cpp
+++ b/src/IpmbSensor.cpp
@@ -65,7 +65,7 @@
uint8_t deviceAddress, uint8_t hostSMbusIndex,
const float pollRate, std::string& sensorTypeName) :
Sensor(escapeName(sensorName), std::move(thresholdData),
- sensorConfiguration, "xyz.openbmc_project.Configuration.ExitAirTemp",
+ sensorConfiguration, "xyz.openbmc_project.Configuration.IpmbSensor",
false, false, ipmbMaxReading, ipmbMinReading, conn, PowerState::on),
deviceAddress(deviceAddress), hostSMbusIndex(hostSMbusIndex),
sensorPollMs(static_cast<int>(pollRate * 1000)), objectServer(objectServer),
diff --git a/src/MCUTempSensor.cpp b/src/MCUTempSensor.cpp
index 7befa92..2786304 100644
--- a/src/MCUTempSensor.cpp
+++ b/src/MCUTempSensor.cpp
@@ -56,8 +56,9 @@
uint8_t busId, uint8_t mcuAddress,
uint8_t tempReg) :
Sensor(escapeName(sensorName), std::move(thresholdData),
- sensorConfiguration, "xyz.openbmc_project.Configuration.ExitAirTemp",
- false, false, mcuTempMaxReading, mcuTempMinReading, conn),
+ sensorConfiguration,
+ "xyz.openbmc_project.Configuration.MCUTempSensor", false, false,
+ mcuTempMaxReading, mcuTempMinReading, conn),
busId(busId), mcuAddress(mcuAddress), tempReg(tempReg),
objectServer(objectServer), waitTimer(io)
{