Skip to content

Commit

Permalink
fix(cpn): Wrong input offset value saved to YAML if GV (#3707)
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz authored and pfeerick committed Jun 23, 2023
1 parent cee7393 commit 7b509a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion companion/src/firmwares/edgetx/yaml_expodata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Node convert<ExpoData>::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;
Expand Down

0 comments on commit 7b509a7

Please sign in to comment.