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
+5
View File
@@ -31,12 +31,17 @@ then
fi fi
fi fi
if ver hwcmp AEROFC_V1
# Do nothing
then
else
if [ $OUTPUT_MODE == mkblctrl ] if [ $OUTPUT_MODE == mkblctrl ]
then then
set OUTPUT_DEV /dev/mkblctrl0 set OUTPUT_DEV /dev/mkblctrl0
else else
set OUTPUT_DEV /dev/pwm_output0 set OUTPUT_DEV /dev/pwm_output0
fi fi
fi
if [ $OUTPUT_MODE == uavcan_esc ] if [ $OUTPUT_MODE == uavcan_esc ]
then then