Browse Source

aerofc: Dirty hack to start mixer with the correctly output device

sbg
José Roberto de Souza 8 years ago committed by Lorenz Meier
parent
commit
8f0322b8aa
  1. 11
      ROMFS/px4fmu_common/init.d/rc.interface

11
ROMFS/px4fmu_common/init.d/rc.interface

@ -31,11 +31,16 @@ then @@ -31,11 +31,16 @@ then
fi
fi
if [ $OUTPUT_MODE == mkblctrl ]
if ver hwcmp AEROFC_V1
# Do nothing
then
set OUTPUT_DEV /dev/mkblctrl0
else
set OUTPUT_DEV /dev/pwm_output0
if [ $OUTPUT_MODE == mkblctrl ]
then
set OUTPUT_DEV /dev/mkblctrl0
else
set OUTPUT_DEV /dev/pwm_output0
fi
fi
if [ $OUTPUT_MODE == uavcan_esc ]

Loading…
Cancel
Save