mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 06:41:36 +08:00
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:
committed by
Julian Oes
parent
05446c0875
commit
02e861b16e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user