From 40e6b3c39f04bfeb93fbe22337da3adf35892d62 Mon Sep 17 00:00:00 2001 From: Laurent Lalanne Date: Fri, 3 Mar 2017 01:46:10 +0100 Subject: [PATCH] LP-488 Change ThrustControl name --- flight/modules/AutoTune/autotune.c | 2 +- shared/uavobjectdefinition/systemidentsettings.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/modules/AutoTune/autotune.c b/flight/modules/AutoTune/autotune.c index 9b32420e7..b4fc4924b 100644 --- a/flight/modules/AutoTune/autotune.c +++ b/flight/modules/AutoTune/autotune.c @@ -842,7 +842,7 @@ static void UpdateStabilizationDesired(bool doingIdent) stabDesired.StabilizationMode.Yaw = STABILIZATIONDESIRED_STABILIZATIONMODE_RATE; } - if (systemIdentSettings.ThrustControl == SYSTEMIDENTSETTINGS_THRUSTCONTROL_AUTO) { + if (systemIdentSettings.ThrustControl == SYSTEMIDENTSETTINGS_THRUSTCONTROL_ALTITUDEVARIO) { stabDesired.StabilizationMode.Thrust = STABILIZATIONDESIRED_STABILIZATIONMODE_ALTITUDEVARIO; } else { stabDesired.StabilizationMode.Thrust = STABILIZATIONDESIRED_STABILIZATIONMODE_MANUAL; diff --git a/shared/uavobjectdefinition/systemidentsettings.xml b/shared/uavobjectdefinition/systemidentsettings.xml index cf354dd1f..c6aa3d880 100644 --- a/shared/uavobjectdefinition/systemidentsettings.xml +++ b/shared/uavobjectdefinition/systemidentsettings.xml @@ -58,7 +58,7 @@ - +