rcS: remove hack

The mavlink instance USB can now be shutdown, so this hack is not needed
anymore.
This commit is contained in:
Julian Oes
2016-03-27 10:42:03 +02:00
committed by Lorenz Meier
parent 28a295485c
commit e7c997c5f1

View File

@@ -842,11 +842,7 @@ then
# Try to get an USB console
nshterm /dev/ttyACM0 &
else
# Don't start mavlink in passthrough mode because we currently can't seem to stop it.
if [ $VEHICLE_TYPE != passthrough ]
then
mavlink start -r 800000 -d /dev/ttyACM0 -m config -x
fi
mavlink start -r 800000 -d /dev/ttyACM0 -m config -x
fi