Commit 80631b19 authored by dogmaphobic's avatar dogmaphobic

Fixing Fact name typo.

parent 5355b3a5
...@@ -46,7 +46,7 @@ QGCView { ...@@ -46,7 +46,7 @@ QGCView {
property Fact battHighVolt: controller.getParameterFact(-1, "BAT_V_CHARGED") property Fact battHighVolt: controller.getParameterFact(-1, "BAT_V_CHARGED")
property Fact battLowVolt: controller.getParameterFact(-1, "BAT_V_EMPTY") property Fact battLowVolt: controller.getParameterFact(-1, "BAT_V_EMPTY")
property Fact battVoltLoadDrop: controller.getParameterFact(-1, "BAT_V_LOAD_DROP") property Fact battVoltLoadDrop: controller.getParameterFact(-1, "BAT_V_LOAD_DROP")
property Fact uavcanEnable: controller.getParameterFact(-1, "UAVCAN_ENABLE", false) property Fact uavcanEnable: controller.getParameterFact(-1, "UAVCAN_ENABLE", false)
readonly property string highlightPrefix: "<font color=\"" + qgcPal.warningText + "\">" readonly property string highlightPrefix: "<font color=\"" + qgcPal.warningText + "\">"
readonly property string highlightSuffix: "</font>" readonly property string highlightSuffix: "</font>"
...@@ -269,8 +269,8 @@ QGCView { ...@@ -269,8 +269,8 @@ QGCView {
} }
QGCCheckBox { QGCCheckBox {
id: showUAVCAN id: showUAVCAN
text: qsTr("Show UAVCAN Settings") text: qsTr("Show UAVCAN Settings")
visible: uavcanEnable !== -1 visible: uavcanEnable !== -1
} }
...@@ -296,7 +296,7 @@ QGCView { ...@@ -296,7 +296,7 @@ QGCView {
FactCheckBox { FactCheckBox {
id: uavcanEnabledCheckBox id: uavcanEnabledCheckBox
width: ScreenTools.defaultFontPixelWidth * 20 width: ScreenTools.defaultFontPixelWidth * 20
fact: _uavcanEnabled fact: uavcanEnable
checkedValue: 3 checkedValue: 3
uncheckedValue: 0 uncheckedValue: 0
text: qsTr("Enable UAVCAN as the default MAIN output bus (requires autopilot restart)") text: qsTr("Enable UAVCAN as the default MAIN output bus (requires autopilot restart)")
......
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