Move MNT_MODE_IN / MOUNT_MODE_OUT logic block to rc.interface and move dataman, send_event, and load_mon startup just below uorb and tone_alarm startup in the rcS script.

This commit is contained in:
mcsauder
2018-07-19 10:35:18 +02:00
committed by Beat Küng
parent 1fa2a6d26e
commit 6f63553824
2 changed files with 43 additions and 42 deletions
+14
View File
@@ -23,6 +23,20 @@ then
set MIXER_AUX none
fi
#
# 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
if [ $MIXER != none -a $MIXER != skip ]
then
#