Always start MAVLink, never default UART to serial

This commit is contained in:
Lorenz Meier 2016-10-08 16:53:31 +02:00
parent a56d50599d
commit 9d2b5b1c28
1 changed files with 2 additions and 23 deletions

View File

@ -645,29 +645,8 @@ then
px4flow start &
fi
set DEBUG_MODE no
if [ $LOG_FILE == /dev/null ]
then
set DEBUG_MODE yes
fi
if ver hwcmp CRAZYFLIE
then
set DEBUG_MODE no
fi
# Start USB shell if no microSD present, MAVLink else
if [ $DEBUG_MODE == yes ]
then
# Try to get an USB console
nshterm /dev/ttyACM0 &
else
mavlink start -r 800000 -d /dev/ttyACM0 -m config -x
fi
# Start MAVLink
mavlink start -r 800000 -d /dev/ttyACM0 -m config -x
#
# Logging