diff --git a/src/modules/land_detector/MulticopterLandDetector.cpp b/src/modules/land_detector/MulticopterLandDetector.cpp index e34a89287a..2375441c26 100644 --- a/src/modules/land_detector/MulticopterLandDetector.cpp +++ b/src/modules/land_detector/MulticopterLandDetector.cpp @@ -252,7 +252,7 @@ bool MulticopterLandDetector::_get_landed_state() (fabsf(_vehicleAttitude.yawspeed) > maxRotationScaled); - if (!_get_ground_contact_state() || rotating || horizontalMovement) { + if (!_ground_contact_hysteresis.get_state() || rotating || horizontalMovement) { // Sensed movement or thottle high, so reset the land detector. return false; }