Add telemetryProtocol
This commit is contained in:
committed by
Raphael Coeffic
parent
3482723805
commit
707e8e83bf
@@ -577,7 +577,6 @@ Node convert<ModelData>::encode(const ModelData& rhs)
|
|||||||
YamlSwitchWarningState switchWarningState(rhs.switchWarningStates, rhs.switchWarningEnable);
|
YamlSwitchWarningState switchWarningState(rhs.switchWarningStates, rhs.switchWarningEnable);
|
||||||
node["switchWarningState"] = switchWarningState.src_str;
|
node["switchWarningState"] = switchWarningState.src_str;
|
||||||
|
|
||||||
|
|
||||||
node["thrTrimSw"] = rhs.thrTrimSwitch;
|
node["thrTrimSw"] = rhs.thrTrimSwitch;
|
||||||
node["potsWarnMode"] = potsWarningModeLut << rhs.potsWarningMode;
|
node["potsWarnMode"] = potsWarningModeLut << rhs.potsWarningMode;
|
||||||
|
|
||||||
@@ -599,7 +598,9 @@ Node convert<ModelData>::encode(const ModelData& rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// mavlink ???
|
// mavlink ???
|
||||||
// telemetryProtocol ???
|
|
||||||
|
node["telemetryProtocol"] = rhs.telemetryProtocol;
|
||||||
|
|
||||||
// frsky
|
// frsky
|
||||||
// rssiSource
|
// rssiSource
|
||||||
// rssiAlarms
|
// rssiAlarms
|
||||||
@@ -722,8 +723,11 @@ bool convert<ModelData>::decode(const Node& node, ModelData& rhs)
|
|||||||
node["displayChecklist"] >> rhs.displayChecklist;
|
node["displayChecklist"] >> rhs.displayChecklist;
|
||||||
|
|
||||||
node["gvars"] >> rhs.gvarData;
|
node["gvars"] >> rhs.gvarData;
|
||||||
|
|
||||||
// mavlink ???
|
// mavlink ???
|
||||||
// telemetryProtocol ???
|
|
||||||
|
node["telemetryProtocol"] >> rhs.telemetryProtocol;
|
||||||
|
|
||||||
// frsky
|
// frsky
|
||||||
// rssiSource
|
// rssiSource
|
||||||
// rssiAlarms
|
// rssiAlarms
|
||||||
|
|||||||
Reference in New Issue
Block a user