Commit 66adea1a authored by Rustom Jehangir's avatar Rustom Jehangir

Update Sub safety for new leak detector parameter names

parent da45a457
......@@ -40,8 +40,8 @@ QGCView {
property Fact _fenceMargin: controller.getParameterFact(-1, "FENCE_MARGIN")
property Fact _fenceType: controller.getParameterFact(-1, "FENCE_TYPE")
property Fact _leakPin: controller.getParameterFact(-1, "WD_1_PIN")
property Fact _leakLogic: controller.getParameterFact(-1, "WD_1_DEFAULT")
property Fact _leakPin: controller.getParameterFact(-1, "LEAK1_PIN")
property Fact _leakLogic: controller.getParameterFact(-1, "LEAK1_LOGIC")
property Fact _armingCheck: controller.getParameterFact(-1, "ARMING_CHECK")
......@@ -180,7 +180,7 @@ QGCView {
QGCLabel {
id: leakDetectorLabel
text: qsTr("Leak Detector")
text: qsTr("Leak detector")
font.family: ScreenTools.demiboldFontFamily
}
......
......@@ -21,7 +21,7 @@ FactPanel {
property Fact _fenceEnable: controller.getParameterFact(-1, "FENCE_ENABLE")
property Fact _fenceType: controller.getParameterFact(-1, "FENCE_TYPE")
property Fact _leakPin: controller.getParameterFact(-1, "WD_1_PIN")
property Fact _leakPin: controller.getParameterFact(-1, "LEAK1_PIN")
property Fact _armingCheck: controller.getParameterFact(-1, "ARMING_CHECK")
......@@ -72,7 +72,7 @@ FactPanel {
}
VehicleSummaryRow {
labelText: qsTr("Leak Detector:")
labelText: qsTr("Leak detector:")
valueText: _leakPin.value > 0 ? qsTr("Enabled") : qsTr("Disabled")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment