diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-21 23:56:32 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-21 23:56:32 +0200 |
commit | a9a8f1435fa798b289aa4e4af9312041abdbcf94 (patch) | |
tree | 54e746c95f41cbecc4064031a7c426ecd96ec540 /src/modules/commander/commander_params.c | |
parent | 86b9e367a6cc5791f83df3223190a470798c00ff (diff) | |
download | px4-firmware-a9a8f1435fa798b289aa4e4af9312041abdbcf94.tar.gz px4-firmware-a9a8f1435fa798b289aa4e4af9312041abdbcf94.tar.bz2 px4-firmware-a9a8f1435fa798b289aa4e4af9312041abdbcf94.zip |
abort comm loss mode if counter above param and return home directly
Diffstat (limited to 'src/modules/commander/commander_params.c')
-rw-r--r-- | src/modules/commander/commander_params.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/commander/commander_params.c b/src/modules/commander/commander_params.c index 25effbd21..980a7a2bb 100644 --- a/src/modules/commander/commander_params.c +++ b/src/modules/commander/commander_params.c @@ -94,10 +94,9 @@ PARAM_DEFINE_FLOAT(BAT_CAPACITY, -1.0f); * @min 0 * @max 1 */ -PARAM_DEFINE_INT32(COM_DL_LOSS_EN, 0); +PARAM_DEFINE_INT32(DL_LOSS_EN, 0); -/** - * Datalink timeout threshold + /** Datalink timeout threshold * * After this amount of seconds the data link lost mode triggers * |