Browse Source

Leave some pins available for camera trigger GPIO.

sbg
tommises 9 years ago committed by Lorenz Meier
parent
commit
e6bb21db65
  1. 11
      ROMFS/px4fmu_common/init.d/rcS

11
ROMFS/px4fmu_common/init.d/rcS

@ -298,6 +298,17 @@ then @@ -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

Loading…
Cancel
Save