summaryrefslogtreecommitdiffstats
path: root/pid
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-02-20 07:35:48 -0800
committerPatrick Venture <venture@google.com>2019-02-20 07:40:04 -0800
commit903b04276b98c072b3399ac20101ad44daf335cd (patch)
treec34928ba570ddfeba6e3a6fad885f6544f8b858f /pid
parentdca2d484ee91ee40fc94509d831ef2c5fa792ca0 (diff)
downloadphosphor-pid-control-903b04276b98c072b3399ac20101ad44daf335cd.tar.gz
phosphor-pid-control-903b04276b98c072b3399ac20101ad44daf335cd.zip
conf change: s/feedFwdOffOffsetCoeff/feedFwdOffsetCoeff/g
Fixup spelling mistake for configuration field name. Change-Id: I92d0af06f4e15f4408dd10f0dd9cd71099b77f4f Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'pid')
-rw-r--r--pid/buildjson.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pid/buildjson.cpp b/pid/buildjson.cpp
index d89da92..97f2bf0 100644
--- a/pid/buildjson.cpp
+++ b/pid/buildjson.cpp
@@ -38,7 +38,7 @@ void from_json(const json& j, ControllerInfo& c)
p.at("samplePeriod").get_to(c.pidInfo.ts);
p.at("proportionalCoeff").get_to(c.pidInfo.proportionalCoeff);
p.at("integralCoeff").get_to(c.pidInfo.integralCoeff);
- p.at("feedFwdOffOffsetCoeff").get_to(c.pidInfo.feedFwdOffset);
+ p.at("feedFwdOffsetCoeff").get_to(c.pidInfo.feedFwdOffset);
p.at("feedFwdGainCoeff").get_to(c.pidInfo.feedFwdGain);
p.at("integralLimit_min").get_to(c.pidInfo.integralLimit.min);
p.at("integralLimit_max").get_to(c.pidInfo.integralLimit.max);
OpenPOWER on IntegriCloud