diff options
| author | Patrick Venture <venture@google.com> | 2018-10-23 09:26:44 -0700 |
|---|---|---|
| committer | Patrick Venture <venture@google.com> | 2018-10-23 09:26:44 -0700 |
| commit | adc9e8636760383be821485908412b2ba7a66422 (patch) | |
| tree | fa136b35dc561611bd4a65c51d4d1fa9432c0919 | |
| parent | 4a2dc4d89a8efc42da57db7d3c3fb9e850e8fb1b (diff) | |
| download | phosphor-pid-control-adc9e8636760383be821485908412b2ba7a66422.tar.gz phosphor-pid-control-adc9e8636760383be821485908412b2ba7a66422.zip | |
cleanup: rename variable per openbmc style
Rename PIDConfig to pidConfig per OpenBMC style guide.
Change-Id: I41c431b7162af6c49f4a43adb548f0b6ed04e3dc
Signed-off-by: Patrick Venture <venture@google.com>
| -rw-r--r-- | pid/builder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pid/builder.cpp b/pid/builder.cpp index 1e7a737..5d8f62f 100644 --- a/pid/builder.cpp +++ b/pid/builder.cpp @@ -60,7 +60,7 @@ std::unordered_map<int64_t, std::unique_ptr<PIDZone>> throw std::runtime_error(err); } - const PIDConf& PIDConfig = zi.second; + const PIDConf& pidConfig = zi.second; auto zone = std::make_unique<PIDZone>( zoneId, zoneConf->second.minthermalrpm, @@ -70,7 +70,7 @@ std::unordered_map<int64_t, std::unique_ptr<PIDZone>> std::cerr << "Zone Id: " << zone->getZoneId() << "\n"; // For each PID create a Controller and a Sensor. - for (const auto& pit : PIDConfig) + for (const auto& pit : pidConfig) { std::vector<std::string> inputs; std::string name = pit.first; |

