diff --git a/dbus/dbusconfiguration.cpp b/dbus/dbusconfiguration.cpp index f9c34607..2a06b309 100644 --- a/dbus/dbusconfiguration.cpp +++ b/dbus/dbusconfiguration.cpp @@ -390,7 +390,7 @@ void populatePidInfo( double positiveHysteresis = 0; double derivativeCoeff = 0; - auto findCheckHysterFlag = base.find("CheckHysterWithSetpt"); + auto findCheckHysterFlag = base.find("CheckHysteresisWithSetpoint"); auto findNeg = base.find("NegativeHysteresis"); auto findPos = base.find("PositiveHysteresis"); auto findDerivative = base.find("DCoefficient"); diff --git a/pid/buildjson.cpp b/pid/buildjson.cpp index 57fabbfb..ddfeb717 100644 --- a/pid/buildjson.cpp +++ b/pid/buildjson.cpp @@ -66,7 +66,7 @@ void from_json(const json& j, conf::ControllerInfo& c) */ auto p = j.at("pid"); - auto checkHysterWithSetpt = p.find("checkHysterWithSetpt"); + auto checkHysterWithSetpt = p.find("checkHysteresisWithSetpoint"); auto positiveHysteresis = p.find("positiveHysteresis"); auto negativeHysteresis = p.find("negativeHysteresis"); auto derivativeCoeff = p.find("derivativeCoeff");