Thr trim switch
This commit is contained in:
committed by
Raphael Coeffic
parent
a6d2127352
commit
d37b5d3c57
@@ -376,7 +376,7 @@ Node convert<ModelData>::encode(const ModelData& rhs)
|
|||||||
node["thrTraceSrc"] = thrTrace.src;
|
node["thrTraceSrc"] = thrTrace.src;
|
||||||
|
|
||||||
// switchWarningStates
|
// switchWarningStates
|
||||||
// thrTrimSwitch
|
node["thrTrimSw"] = rhs.thrTrimSwitch;
|
||||||
// potsWarningMode
|
// potsWarningMode
|
||||||
// potsWarnEnabled[]
|
// potsWarnEnabled[]
|
||||||
// potsWarnPosition[]
|
// potsWarnPosition[]
|
||||||
@@ -453,7 +453,6 @@ bool convert<ModelData>::decode(const Node& node, ModelData& rhs)
|
|||||||
node["logicalSw"] >> rhs.logicalSw;
|
node["logicalSw"] >> rhs.logicalSw;
|
||||||
node["customFn"] >> rhs.customFn;
|
node["customFn"] >> rhs.customFn;
|
||||||
|
|
||||||
// swashRingData
|
|
||||||
if (node["swashR"]) {
|
if (node["swashR"]) {
|
||||||
const auto& swashR = node["swashR"];
|
const auto& swashR = node["swashR"];
|
||||||
if (!swashR.IsMap()) return false;
|
if (!swashR.IsMap()) return false;
|
||||||
@@ -465,7 +464,7 @@ bool convert<ModelData>::decode(const Node& node, ModelData& rhs)
|
|||||||
rhs.thrTraceSrc = thrTrace.toCpn();
|
rhs.thrTraceSrc = thrTrace.toCpn();
|
||||||
|
|
||||||
// switchWarningStates
|
// switchWarningStates
|
||||||
// thrTrimSwitch
|
node["thrTrimSw"] >> rhs.thrTrimSwitch;
|
||||||
// potsWarningMode
|
// potsWarningMode
|
||||||
// potsWarnEnabled[]
|
// potsWarnEnabled[]
|
||||||
// potsWarnPosition[]
|
// potsWarnPosition[]
|
||||||
|
|||||||
Reference in New Issue
Block a user