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

This commit is contained in:
José Roberto de Souza
2016-09-23 19:37:57 -03:00
committed by Lorenz Meier
parent 66628a4cf1
commit 8f0322b8aa
+8 -3
View File
@@ -31,11 +31,16 @@ then
fi fi
fi fi
if [ $OUTPUT_MODE == mkblctrl ] if ver hwcmp AEROFC_V1
# Do nothing
then then
set OUTPUT_DEV /dev/mkblctrl0
else 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 fi
if [ $OUTPUT_MODE == uavcan_esc ] if [ $OUTPUT_MODE == uavcan_esc ]