mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 23:43:34 +08:00
Camera trigger: Make interface dependent on parameter, not command line
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user