mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 12:03:33 +08:00
land_detector: move _parameterSub to the right place
This commit is contained in:
@@ -105,6 +105,7 @@ void LandDetector::_cycle()
|
||||
|
||||
// Initialize uORB topics.
|
||||
_armingSub = orb_subscribe(ORB_ID(actuator_armed));
|
||||
_parameterSub = orb_subscribe(ORB_ID(parameter_update));
|
||||
_initialize_topics();
|
||||
|
||||
_check_params(true);
|
||||
|
||||
Reference in New Issue
Block a user