Camera trigger: Fix param handle names, enable trigger if mode set to > 1

This commit is contained in:
Lorenz Meier
2015-08-08 14:14:48 +02:00
parent f105d65ab1
commit 82dc382095
2 changed files with 23 additions and 26 deletions
@@ -41,29 +41,17 @@
#include <nuttx/config.h>
#include <systemlib/param/param.h>
/**
* Camera trigger shutter integration time
*
* This parameter sets the time the shutter is open on the camera.
*
* @unit milliseconds
* @min 0.0
* @max 500.0
* @group Camera trigger
*/
PARAM_DEFINE_FLOAT(TRIG_INT_TIME, 1.0f);
/**
* Camera trigger interval
*
* This parameter sets the time between two consecutive trigger events
*
* @unit milliseconds
* @min 15.0
* @max 33.0
* @min 4.0
* @max 10000.0
* @group Camera trigger
*/
PARAM_DEFINE_FLOAT(TRIG_INTERVAL, 15.0f);
PARAM_DEFINE_FLOAT(TRIG_INTERVAL, 40.0f);
/**
* Camera trigger polarity