Commit 04fb087b authored by Lorenz Meier's avatar Lorenz Meier

Add critical battery setting for PX4

parent fb57f430
......@@ -117,7 +117,7 @@ QGCView {
QGCLabel {
anchors.baseline: batLowLevelField.baseline
width: _middleRowWidth
text: qsTr("Battery Low Level:")
text: qsTr("Battery Warn Level:")
}
FactTextField {
id: batLowLevelField
......@@ -126,6 +126,19 @@ QGCView {
width: _editFieldWidth
}
}
Row {
QGCLabel {
anchors.baseline: batLowLevelField.baseline
width: _middleRowWidth
text: qsTr("Battery Failsafe Level:")
}
FactTextField {
id: batCritLevelField
fact: controller.getParameterFact(-1, "BAT_CRIT_THR")
showUnits: true
width: _editFieldWidth
}
}
}
}
}
......
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