aboutsummaryrefslogtreecommitdiff
path: root/src/modules/land_detector
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/land_detector')
-rw-r--r--src/modules/land_detector/MulticopterLandDetector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/land_detector/MulticopterLandDetector.cpp b/src/modules/land_detector/MulticopterLandDetector.cpp
index 277cb9363..ce391c817 100644
--- a/src/modules/land_detector/MulticopterLandDetector.cpp
+++ b/src/modules/land_detector/MulticopterLandDetector.cpp
@@ -60,9 +60,9 @@ MulticopterLandDetector::MulticopterLandDetector() : LandDetector(),
_arming({}),
_landTimer(0)
{
- _paramHandle.maxRotation = param_find("LNDMC_Z_VEL_MAX");
+ _paramHandle.maxRotation = param_find("LNDMC_ROT_MAX");
_paramHandle.maxVelocity = param_find("LNDMC_XY_VEL_MAX");
- _paramHandle.maxClimbRate = param_find("LNDMC_ROT_MAX");
+ _paramHandle.maxClimbRate = param_find("LNDMC_Z_VEL_MAX");
_paramHandle.maxThrottle = param_find("LNDMC_THR_MAX");
}