From f5c65cf206a344d82337493e69bdc33feae5ff16 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 21 Sep 2016 14:20:31 -0300 Subject: [PATCH] aerofc: disable mixer aux --- ROMFS/px4fmu_common/init.d/rc.interface | 5 +++++ ROMFS/px4fmu_common/init.d/rcS | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ROMFS/px4fmu_common/init.d/rc.interface b/ROMFS/px4fmu_common/init.d/rc.interface index 5ff6828ea6..255570ca5f 100644 --- a/ROMFS/px4fmu_common/init.d/rc.interface +++ b/ROMFS/px4fmu_common/init.d/rc.interface @@ -114,6 +114,11 @@ then set MIXER_AUX none fi +if ver hwcmp AEROFC_V1 +then + set MIXER_AUX none +fi + if [ $MIXER_AUX != none -a $AUX_MODE != none ] then # diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 049809621c..6e144d7eb5 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -201,6 +201,11 @@ then set MIXER_AUX none fi + if ver hwcmp AEROFC_V1 + then + set MIXER_AUX none + fi + # # Override parameters from user configuration file #