diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-04-03 18:50:44 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-10 17:30:22 +0200 |
commit | a872b69df1b5cae9b60ec0a9a92261b80ab04dbb (patch) | |
tree | cb473caf97325f48d42a2846d201b31450bacdeb /src/modules/commander/commander_params.c | |
parent | f6f8d646d1b4f849af5f0eedcf1b17dc5267a47b (diff) | |
download | px4-firmware-a872b69df1b5cae9b60ec0a9a92261b80ab04dbb.tar.gz px4-firmware-a872b69df1b5cae9b60ec0a9a92261b80ab04dbb.tar.bz2 px4-firmware-a872b69df1b5cae9b60ec0a9a92261b80ab04dbb.zip |
add parameter to control autosave of parameters
Diffstat (limited to 'src/modules/commander/commander_params.c')
-rw-r--r-- | src/modules/commander/commander_params.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/commander/commander_params.c b/src/modules/commander/commander_params.c index 94eeb6f71..6a177046b 100644 --- a/src/modules/commander/commander_params.c +++ b/src/modules/commander/commander_params.c @@ -176,3 +176,13 @@ PARAM_DEFINE_FLOAT(COM_EF_TIME, 10.0f); * @max 35 */ PARAM_DEFINE_FLOAT(COM_RC_LOSS_T, 0.5); + +/** Autosaving of params + * + * If not equal to zero the commander will automatically save parameters to persistent storage once changed + * + * @group commander + * @min 0 + * @max 1 + */ +PARAM_DEFINE_INT32(COM_AUTOS_PAR, 0); |