mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 20:47:34 +08:00
Leave some pins available for camera trigger GPIO.
This commit is contained in:
@@ -298,6 +298,17 @@ then
|
||||
set FMU_MODE gpio_serial
|
||||
fi
|
||||
|
||||
if param greater TRIG_MODE 0
|
||||
then
|
||||
if [ $PWM_OUT == 1234 ]
|
||||
then
|
||||
if ver hwcmp PX4FMU_V4
|
||||
then
|
||||
set FMU_MODE pwm4
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $HIL == yes ]
|
||||
then
|
||||
set OUTPUT_MODE hil
|
||||
|
||||
Reference in New Issue
Block a user