enable silent compare of parameter (#12850)

Remove false errors after comparing parameters that doesn't exists.
as described in #12832
This commit is contained in:
BazookaJoe1900
2019-10-07 09:50:11 +02:00
committed by Julian Oes
parent 05446c0875
commit 02e861b16e
6 changed files with 51 additions and 35 deletions
+2 -2
View File
@@ -17,9 +17,9 @@ set OUTPUT_DEV none
# 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
if ! param compare -s MNT_MODE_IN -1
then
if param compare MNT_MODE_OUT 0
if param compare -s MNT_MODE_OUT 0
then
set MIXER_AUX mount
fi