CF2: Free up serials

There are only two exposed serial connections, which are used as other things for the decks, so don't utilize any by default
This commit is contained in:
Dennis Shtatnov
2016-09-11 21:41:51 -04:00
committed by Lorenz Meier
parent eafc0dad4a
commit c9a17fdd68
+11 -1
View File
@@ -505,9 +505,19 @@ then
mavlink start -r 20000 -m config -b 921600 -d /dev/ttyS0 mavlink start -r 20000 -m config -b 921600 -d /dev/ttyS0
fi fi
fi fi
if ver hwcmp CRAZYFLIE
then
# Avoid using either of the two available serials
set MAVLINK_F none
fi
fi fi
mavlink start $MAVLINK_F if [ $MAVLINK_F == "none" ]
then
else
mavlink start $MAVLINK_F
fi
unset MAVLINK_F unset MAVLINK_F
# #