commander: refactor COM_DISARM_LAND to param wrapper

after review comment request from @dagar. Thanks!
This commit is contained in:
Matthias Grob
2018-08-30 08:05:13 +02:00
committed by Beat Küng
parent 0c6bffb66a
commit c87e124f13
2 changed files with 4 additions and 15 deletions
+2 -1
View File
@@ -107,7 +107,8 @@ private:
(ParamInt<px4::params::COM_POS_FS_PROB>) _failsafe_pos_probation,
(ParamInt<px4::params::COM_POS_FS_GAIN>) _failsafe_pos_gain,
(ParamInt<px4::params::COM_LOW_BAT_ACT>) _low_bat_action
(ParamInt<px4::params::COM_LOW_BAT_ACT>) _low_bat_action,
(ParamFloat<px4::params::COM_DISARM_LAND>) _disarm_when_landed_timeout
)
const int64_t POSVEL_PROBATION_MIN = 1_s; /**< minimum probation duration (usec) */