From c249a90e82a9f8ee3d2fa7c59e7c7e139c94ec92 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Mon, 29 Oct 2018 18:35:19 -0300 Subject: [PATCH] APMPowerComponent: Use new ARM_VOLT parameters --- src/AutoPilotPlugins/APM/APMPowerComponent.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoPilotPlugins/APM/APMPowerComponent.qml b/src/AutoPilotPlugins/APM/APMPowerComponent.qml index 92a762e20..7bb93fc8e 100644 --- a/src/AutoPilotPlugins/APM/APMPowerComponent.qml +++ b/src/AutoPilotPlugins/APM/APMPowerComponent.qml @@ -121,7 +121,7 @@ SetupPage { anchors.left: parent.left sourceComponent: _batt1FullSettings.visible ? powerSetupComponent : undefined - property Fact armVoltMin: controller.getParameterFact(-1, "r.ARMING_VOLT_MIN", false /* reportMissing */) + property Fact armVoltMin: controller.getParameterFact(-1, "r.BATT_ARM_VOLT", false /* reportMissing */) property Fact battAmpPerVolt: controller.getParameterFact(-1, "r.BATT_AMP_PERVLT", false /* reportMissing */) property Fact battCapacity: controller.getParameterFact(-1, "BATT_CAPACITY", false /* reportMissing */) property Fact battCurrPin: controller.getParameterFact(-1, "BATT_CURR_PIN", false /* reportMissing */) @@ -205,7 +205,7 @@ SetupPage { anchors.left: parent.left sourceComponent: batt2FullSettings.visible ? powerSetupComponent : undefined - property Fact armVoltMin: controller.getParameterFact(-1, "r.ARMING_VOLT2_MIN", false /* reportMissing */) + property Fact armVoltMin: controller.getParameterFact(-1, "r.BATT2_ARM_VOLT", false /* reportMissing */) property Fact battAmpPerVolt: controller.getParameterFact(-1, "r.BATT2_AMP_PERVLT", false /* reportMissing */) property Fact battCapacity: controller.getParameterFact(-1, "BATT2_CAPACITY", false /* reportMissing */) property Fact battCurrPin: controller.getParameterFact(-1, "BATT2_CURR_PIN", false /* reportMissing */) -- 2.22.0