sdlog2 param @unit

This commit is contained in:
Daniel Agar
2016-03-14 09:12:34 +01:00
committed by Lorenz Meier
parent cfac0b0640
commit 3e44957d20
+10 -4
View File
@@ -40,6 +40,7 @@
* parameter is only read out before logging starts (which
* commonly is before arming).
*
* @unit Hz
* @min -1
* @max 100
* @group SD Logging
@@ -49,14 +50,18 @@ PARAM_DEFINE_INT32(SDLOG_RATE, -1);
/**
* Enable extended logging mode.
*
* A value of -1 indicates the commandline argument
* A value of -1 indicates the command line argument
* should be obeyed. A value of 0 disables extended
* logging mode, a value of 1 enables it. This
* parameter is only read out before logging starts
* (which commonly is before arming).
*
* @unit enum
* @min -1
* @max 1
* @value -1 command line
* @value 0 disable
* @value 1 enable
* @group SD Logging
*/
PARAM_DEFINE_INT32(SDLOG_EXT, -1);
@@ -68,8 +73,7 @@ PARAM_DEFINE_INT32(SDLOG_EXT, -1);
* to only use the time stamp if a 3D GPS lock is
* present.
*
* @min 0
* @max 1
* @unit boolean
* @group SD Logging
*/
PARAM_DEFINE_INT32(SDLOG_GPSTIME, 1);
@@ -85,6 +89,7 @@ PARAM_DEFINE_INT32(SDLOG_GPSTIME, 1);
*
* refer to https://en.wikipedia.org/wiki/List_of_UTC_time_offsets
*
* @unit min
* @min -1000
* @max 1000
* @group SD Logging
@@ -98,8 +103,9 @@ PARAM_DEFINE_INT32(SDLOG_UTC_OFFSET, 0);
* A value of 0 indicates that the default priority is used.
* Increasing the parameter in steps of one increases the priority.
*
* @unit
* @min 0
* @max 3
* @max 3
* @group SD Logging
*/
PARAM_DEFINE_INT32(SDLOG_PRIO_BOOST, 0);