diff options
| author | Patrick Venture <venture@google.com> | 2018-10-30 18:50:31 -0700 |
|---|---|---|
| committer | Patrick Venture <venture@google.com> | 2018-10-30 18:51:28 -0700 |
| commit | 0bbeaf84e02b94ac5f94d7edb8532d06d2fda99f (patch) | |
| tree | 1462dbf7b438a57cffb3a094d04af7bd86033df3 /pid | |
| parent | 76ce5d775c2bb31dc8214dc110c593b9ca0abd22 (diff) | |
| download | phosphor-pid-control-0bbeaf84e02b94ac5f94d7edb8532d06d2fda99f.tar.gz phosphor-pid-control-0bbeaf84e02b94ac5f94d7edb8532d06d2fda99f.zip | |
style: s/getZoneId/getZoneID/g
Acronyms are meant to be in the same case within their part of the camel
case name.
Change-Id: I9e55d4419617a35b0f3a85f3d55543c8fc9bd76f
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'pid')
| -rw-r--r-- | pid/builder.cpp | 2 | ||||
| -rw-r--r-- | pid/zone.cpp | 2 | ||||
| -rw-r--r-- | pid/zone.hpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pid/builder.cpp b/pid/builder.cpp index 58ef8df..55f3e35 100644 --- a/pid/builder.cpp +++ b/pid/builder.cpp @@ -67,7 +67,7 @@ std::unordered_map<int64_t, std::unique_ptr<PIDZone>> zoneConf->second.failsafepercent, mgr, modeControlBus, getControlPath(zi.first).c_str(), deferSignals); - std::cerr << "Zone Id: " << zone->getZoneId() << "\n"; + std::cerr << "Zone Id: " << zone->getZoneID() << "\n"; // For each PID create a Controller and a Sensor. for (const auto& pit : pidConfig) diff --git a/pid/zone.cpp b/pid/zone.cpp index 2af3307..0c9718a 100644 --- a/pid/zone.cpp +++ b/pid/zone.cpp @@ -56,7 +56,7 @@ bool PIDZone::getFailSafeMode(void) const return !_failSafeSensors.empty(); } -int64_t PIDZone::getZoneId(void) const +int64_t PIDZone::getZoneID(void) const { return _zoneId; } diff --git a/pid/zone.hpp b/pid/zone.hpp index d2da92c..e04eeb7 100644 --- a/pid/zone.hpp +++ b/pid/zone.hpp @@ -62,7 +62,7 @@ class PIDZone : public ZoneInterface, public ModeObject */ void setManualMode(bool mode); bool getFailSafeMode(void) const override; - int64_t getZoneId(void) const; + int64_t getZoneID(void) const; void addRPMSetPoint(float setpoint) override; void clearRPMSetPoints(void); float getFailSafePercent(void) const override; |

