diff --git a/companion/src/firmwares/edgetx/yaml_modeldata.cpp b/companion/src/firmwares/edgetx/yaml_modeldata.cpp index c09a15292..4ebb6952d 100644 --- a/companion/src/firmwares/edgetx/yaml_modeldata.cpp +++ b/companion/src/firmwares/edgetx/yaml_modeldata.cpp @@ -376,7 +376,7 @@ Node convert::encode(const ModelData& rhs) node["thrTraceSrc"] = thrTrace.src; // switchWarningStates - // thrTrimSwitch + node["thrTrimSw"] = rhs.thrTrimSwitch; // potsWarningMode // potsWarnEnabled[] // potsWarnPosition[] @@ -453,7 +453,6 @@ bool convert::decode(const Node& node, ModelData& rhs) node["logicalSw"] >> rhs.logicalSw; node["customFn"] >> rhs.customFn; - // swashRingData if (node["swashR"]) { const auto& swashR = node["swashR"]; if (!swashR.IsMap()) return false; @@ -465,7 +464,7 @@ bool convert::decode(const Node& node, ModelData& rhs) rhs.thrTraceSrc = thrTrace.toCpn(); // switchWarningStates - // thrTrimSwitch + node["thrTrimSw"] >> rhs.thrTrimSwitch; // potsWarningMode // potsWarnEnabled[] // potsWarnPosition[]