diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-20 17:53:04 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-20 17:53:04 +0200 |
commit | dcf114aa65273d5d5ce522565fc364fc347ba3fe (patch) | |
tree | b989a146ab705f679edef08661d3098bbbf3e673 /src/modules/commander/commander_params.c | |
parent | 075a99e6e0703e3c935d313cc7dd4a0c9f04c998 (diff) | |
download | px4-firmware-dcf114aa65273d5d5ce522565fc364fc347ba3fe.tar.gz px4-firmware-dcf114aa65273d5d5ce522565fc364fc347ba3fe.tar.bz2 px4-firmware-dcf114aa65273d5d5ce522565fc364fc347ba3fe.zip |
data link loss timeout as param
Diffstat (limited to 'src/modules/commander/commander_params.c')
-rw-r--r-- | src/modules/commander/commander_params.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/modules/commander/commander_params.c b/src/modules/commander/commander_params.c index 4750f9d5c..25effbd21 100644 --- a/src/modules/commander/commander_params.c +++ b/src/modules/commander/commander_params.c @@ -95,3 +95,15 @@ PARAM_DEFINE_FLOAT(BAT_CAPACITY, -1.0f); * @max 1 */ PARAM_DEFINE_INT32(COM_DL_LOSS_EN, 0); + +/** + * Datalink timeout threshold + * + * After this amount of seconds the data link lost mode triggers + * + * @group commander + * @unit second + * @min 0 + * @max 1000 + */ +PARAM_DEFINE_INT32(COM_DL_LOSS_T, 10); |