mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 13:02:25 +08:00
aerofc: Dirty hack to start mixer with the correctly output device
This commit is contained in:
committed by
Lorenz Meier
parent
66628a4cf1
commit
8f0322b8aa
@@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user