Camera trigger: Make interface dependent on parameter, not command line

This commit is contained in:
Lorenz Meier
2016-07-07 11:40:11 +02:00
parent 78f7f00ae2
commit 50b93b161c
@@ -41,6 +41,20 @@
#include <nuttx/config.h>
#include <systemlib/param/param.h>
/**
* Camera trigger Interface
*
* Selects the trigger interface
*
* @value 1 GPIO
* @value 2 Seagull MAP2 (PWM)
*
* @reboot_required true
*
* @group Camera trigger
*/
PARAM_DEFINE_INT32(TRIG_INTERFACE, 2);
/**
* Camera trigger Interface
*