Modified the naming to get the value of checkhysterwithsetpt
Modified the naming to get the value of checkhysterwithsetpt in dbus
configuration and json configuration.
Change-Id: Ic9cc6a6bfd0da69acc1638ca7ebd6712211e2984
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/pid/buildjson.cpp b/pid/buildjson.cpp
index 57fabbf..ddfeb71 100644
--- a/pid/buildjson.cpp
+++ b/pid/buildjson.cpp
@@ -66,7 +66,7 @@
*/
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");