mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 21:33:33 +08:00
land_detector: fix uninitialized value (#4659)
This commit is contained in:
@@ -67,7 +67,8 @@ MulticopterLandDetector::MulticopterLandDetector() : LandDetector(),
|
||||
_ctrl_state{},
|
||||
_ctrl_mode{},
|
||||
_landTimer(0),
|
||||
_freefallTimer(0)
|
||||
_freefallTimer(0),
|
||||
_min_trust_start(0)
|
||||
{
|
||||
_paramHandle.maxRotation = param_find("LNDMC_ROT_MAX");
|
||||
_paramHandle.maxVelocity = param_find("LNDMC_XY_VEL_MAX");
|
||||
|
||||
Reference in New Issue
Block a user