From dd3fb84db81d4dfcceba29b1643a12b64eb50f05 Mon Sep 17 00:00:00 2001
From: Paul Riseborough <p_riseborough@live.com.au>
Date: Tue, 10 Jul 2018 08:49:45 +1000
Subject: [PATCH] mc_pos_control: Fix parameter description error

---
 src/modules/mc_pos_control/mc_pos_control_params.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/modules/mc_pos_control/mc_pos_control_params.c b/src/modules/mc_pos_control/mc_pos_control_params.c
index eb6c42f0ea..ad7e479e32 100644
--- a/src/modules/mc_pos_control/mc_pos_control_params.c
+++ b/src/modules/mc_pos_control/mc_pos_control_params.c
@@ -510,8 +510,9 @@ PARAM_DEFINE_FLOAT(MPC_JERK_MIN, 1.0f);
  * with terrain height variation. Requires a distance to ground sensor. The height controller will
  * revert to using height above origin if the distance to ground estimate becomes invalid as indicated
  * by the local_position.distance_bottom_valid message being false.
- * Set to 2 to control height relative to earth frame origin when stationary and relative to ground
- * distance when moving horizontally. The speed threshold is controlled by the MPC_ALT_MODE_SPD parameter.
+ * Set to 2 to control height relative to ground (requires a distance sensor) when stationary and relative
+ * to earth frame origin when moving horizontally.
+ * The speed threshold is controlled by the MPC_ALT_MODE_SPD parameter.
  *
  * @min 0
  * @max 2
-- 
GitLab