add parameter to control autosave of parameters

This commit is contained in:
Thomas Gubler
2015-04-03 18:50:44 +02:00
committed by Lorenz Meier
parent f6f8d646d1
commit a872b69df1
2 changed files with 23 additions and 6 deletions

View File

@@ -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);