camera_trigger:Support more than 8 channles

This commit is contained in:
David Sidrane
2021-06-11 15:13:23 +02:00
committed by Lorenz Meier
parent 615e1f3e29
commit e0fab172a4
7 changed files with 100 additions and 34 deletions
@@ -148,6 +148,24 @@ PARAM_DEFINE_INT32(TRIG_MODE, 0);
*/
PARAM_DEFINE_INT32(TRIG_PINS, 56);
/**
* Camera trigger pin extended
*
* This Bit mask selects which FMU pin is used (range: AUX9-AUX32)
* If the value is not 0 it takes precedence over TRIG_PINS.
*
* If bits above 8 are set that value is used as the selector for trigger pins.
* greater then 8. 0x00000300 Would be Pins 9,10. If the value is
*
*
* @min 0
* @max 4294967040
* @decimal 0
* @reboot_required true
* @group Camera trigger
*/
PARAM_DEFINE_INT32(TRIG_PINS_EX, 0);
/**
* Camera trigger distance
*