Browse Source

Remove logic from rc.vehicle_setup that resulted in redundantly setting the MAV_TYPE to the same initial default value set within the script.

sbg
mcsauder 7 years ago committed by Daniel Agar
parent
commit
31f3bcfc3a
  1. 12
      ROMFS/px4fmu_common/init.d/rc.vehicle_setup

12
ROMFS/px4fmu_common/init.d/rc.vehicle_setup

@ -48,18 +48,6 @@ then @@ -48,18 +48,6 @@ then
set MAV_TYPE 2
# Use mixer to detect vehicle type
if [ $MIXER == quad_x -o $MIXER == quad_+ ]
then
set MAV_TYPE 2
fi
if [ $MIXER == quad_w -o $MIXER == quad_dc ]
then
set MAV_TYPE 2
fi
if [ $MIXER == quad_h ]
then
set MAV_TYPE 2
fi
if [ $MIXER == coax ]
then
set MAV_TYPE 3

Loading…
Cancel
Save