diff --git a/companion/src/firmwares/edgetx/yaml_modeldata.cpp b/companion/src/firmwares/edgetx/yaml_modeldata.cpp index f2d7d07bb..8c7b91423 100644 --- a/companion/src/firmwares/edgetx/yaml_modeldata.cpp +++ b/companion/src/firmwares/edgetx/yaml_modeldata.cpp @@ -327,7 +327,7 @@ struct convert { node["symetrical"] = (int)rhs.symetrical; node["failsafe"] = rhs.failsafe; node["name"] = rhs.name; - node["curve"] = rhs.curve; + node["curve"] = rhs.curve.value; return node; } @@ -347,7 +347,7 @@ struct convert { node["symetrical"] >> rhs.symetrical; node["failsafe"] >> rhs.failsafe; node["name"] >> rhs.name; - node["curve"] >> rhs.curve; + node["curve"] >> rhs.curve.value; return true; } };