use new sdbus++ camelcase
Change I17a8d7479556596a3cf252b3f4eae9c8df547189 will change
how sdbus++ generates names which start with an acronym.
Prepare for this by keying off the SDBUSPP_NEW_CAMELCASE
define to use the new format.
Changes:
pOHCounter -> pohCounter
(This repository only uses this as a local variable so there
is no need for an SDBUSPP_NEW_CAMELCASE override.)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I918aed7f6ddadd21bd490a0ddb547545499646ee
diff --git a/chassishandler.cpp b/chassishandler.cpp
index 0d31864..551683d 100644
--- a/chassishandler.cpp
+++ b/chassishandler.cpp
@@ -92,7 +92,7 @@
static constexpr auto chassisStateRoot = "/xyz/openbmc_project/state";
static constexpr auto chassisPOHStateIntf =
"xyz.openbmc_project.State.PowerOnHours";
-static constexpr auto pOHCounterProperty = "POHCounter";
+static constexpr auto pohCounterProperty = "POHCounter";
static constexpr auto match = "chassis0";
const static constexpr char chassisCapIntf[] =
"xyz.openbmc_project.Control.ChassisCapabilities";
@@ -569,7 +569,7 @@
auto propValue =
ipmi::getDbusProperty(bus, service, chassisStateObj.first,
- chassisPOHStateIntf, pOHCounterProperty);
+ chassisPOHStateIntf, pohCounterProperty);
return std::get<uint32_t>(propValue);
}