Skip to content
Snippets Groups Projects
Commit 69e8213b authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

rcS: set MIXER_AUX to mount if vmount enabled and output is AUX

This automatically selects the mount aux mixer if mount is enabled via
parameters. A user can customize this by adding a file
 etc/mixers/mount.aux.mix
to the SD card.
parent 3f3ac414
No related branches found
No related tags found
No related merge requests found
......@@ -264,6 +264,19 @@ then
fi
unset MODE
#
# If mount (gimbal) control is enabled and output mode is AUX, set the aux
# mixer to mount (override the airframe-specific MIXER_AUX setting)
#
if param compare MNT_MODE_IN -1
then
else
if param compare MNT_MODE_OUT 0
then
set MIXER_AUX mount
fi
fi
#
# Wipe incompatible settings for boards not having two outputs
if ver hwcmp PX4FMU_V4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment