mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Ensure that AUX mixer is loaded when 2nd bank is present
This commit is contained in:
@@ -21,6 +21,7 @@ fi
|
||||
|
||||
# initialize script variables
|
||||
set AUX_MODE none
|
||||
set AUX_BANK2 none
|
||||
set IO_PRESENT no
|
||||
set MAV_TYPE none
|
||||
set MIXER none
|
||||
|
||||
@@ -30,7 +30,7 @@ then
|
||||
fi
|
||||
|
||||
# USE_IO is set to 'no' for all boards w/o px4io driver or SYS_USE_IO disabled
|
||||
if [ $USE_IO = no ]
|
||||
if [ $USE_IO = no -a $AUX_BANK2 = none ]
|
||||
then
|
||||
set AUX_MODE none
|
||||
fi
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
# board specific defaults
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# Enables the 2nd bank of mixers
|
||||
set AUX_BANK2 yes
|
||||
|
||||
param set-default BAT_V_DIV 18
|
||||
param set-default BAT1_V_DIV 18
|
||||
param set-default BAT2_V_DIV 18
|
||||
|
||||
Reference in New Issue
Block a user