Fix Lama coax config

This commit is contained in:
Lorenz Meier 2016-05-20 10:06:04 +02:00
parent 3c22c1c525
commit 4267b20c9a
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!nsh
#
# @name Coaxial Helicopter (such as Esky Lama v4 or Esky Big Lama)
# @name Esky (Big) Lama v4
#
# @type Coaxial Helicopter
#
@ -12,7 +12,8 @@
# @maintainer Emmanuel Roussel
#
set VEHICLE_TYPE mc
sh /etc/init.d/rc.mc_defaults
set MIXER coax
if [ $AUTOCNF == yes ]
then
@ -47,7 +48,6 @@ then
param set MC_YAWRATE_FF 0
fi
set MIXER coax
# use PWM parameters for throttle channel
set PWM_OUT 34
set PWM_RATE 400
@ -62,4 +62,3 @@ set PWM_AUX_OUT 1234
set PWM_AUX_DISARMED 1500
set PWM_AUX_MIN 1000
set PWM_AUX_MAX 2000

View File

@ -736,6 +736,10 @@ then
then
set MAV_TYPE 14
fi
if [ $MIXER == coax ]
then
set MAV_TYPE 3
fi
fi
# Still no MAV_TYPE found