From e7c997c5f148e5b59faa22524766c2ac6d78d54b Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Sun, 27 Mar 2016 10:42:03 +0200 Subject: [PATCH] rcS: remove hack The mavlink instance USB can now be shutdown, so this hack is not needed anymore. --- ROMFS/px4fmu_common/init.d/rcS | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 64a1ed3c5f..97b98fec25 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -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