diff options
author | Julian Oes <julian@oes.ch> | 2014-06-18 19:01:41 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-06-18 19:01:41 +0200 |
commit | e24925c743330bc3c6c0a24ba913a9c5fab5e07d (patch) | |
tree | c8ad98fc0caba4a061651c50eba120575cb8bba5 /src/modules/commander/commander_params.c | |
parent | 55e5f747de013fb386727b41cc67bd019c129c31 (diff) | |
download | px4-firmware-e24925c743330bc3c6c0a24ba913a9c5fab5e07d.tar.gz px4-firmware-e24925c743330bc3c6c0a24ba913a9c5fab5e07d.tar.bz2 px4-firmware-e24925c743330bc3c6c0a24ba913a9c5fab5e07d.zip |
commander: added some failsafe logic
Diffstat (limited to 'src/modules/commander/commander_params.c')
-rw-r--r-- | src/modules/commander/commander_params.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/modules/commander/commander_params.c b/src/modules/commander/commander_params.c index 80ca68f21..4750f9d5c 100644 --- a/src/modules/commander/commander_params.c +++ b/src/modules/commander/commander_params.c @@ -39,7 +39,7 @@ * * @author Lorenz Meier <lm@inf.ethz.ch> * @author Thomas Gubler <thomasgubler@student.ethz.ch> - * @author Julian Oes <joes@student.ethz.ch> + * @author Julian Oes <julian@oes.ch> */ #include <nuttx/config.h> @@ -84,3 +84,14 @@ PARAM_DEFINE_INT32(BAT_N_CELLS, 3); * @group Battery Calibration */ PARAM_DEFINE_FLOAT(BAT_CAPACITY, -1.0f); + +/** + * Datalink loss mode enabled. + * + * Set to 1 to enable actions triggered when the datalink is lost. + * + * @group commander + * @min 0 + * @max 1 + */ +PARAM_DEFINE_INT32(COM_DL_LOSS_EN, 0); |