From 7b509a746ce3915934ddf76e545f321e355c03f1 Mon Sep 17 00:00:00 2001 From: philmoz Date: Fri, 23 Jun 2023 10:37:12 +1000 Subject: [PATCH] fix(cpn): Wrong input offset value saved to YAML if GV (#3707) --- companion/src/firmwares/edgetx/yaml_expodata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/firmwares/edgetx/yaml_expodata.cpp b/companion/src/firmwares/edgetx/yaml_expodata.cpp index 12734e421bf..547c85ff4f7 100644 --- a/companion/src/firmwares/edgetx/yaml_expodata.cpp +++ b/companion/src/firmwares/edgetx/yaml_expodata.cpp @@ -36,7 +36,7 @@ Node convert::encode(const ExpoData& rhs) node["swtch"] = rhs.swtch; node["flightModes"] = YamlWriteFlightModes(rhs.flightModes); node["weight"] = YamlWriteMixWeight(rhs.weight); - node["offset"] = rhs.offset; // YamlWriteMixWeight + node["offset"] = YamlWriteMixWeight(rhs.offset); node["curve"] = rhs.curve; node["trimSource"] = rhs.carryTrim; // temporary for 2.8.1, trimSource in 2.9 node["name"] = rhs.name;