mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 05:05:19 +08:00
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:
committed by
Lorenz Meier
parent
eafc0dad4a
commit
c9a17fdd68
@@ -505,9 +505,19 @@ then
|
||||
mavlink start -r 20000 -m config -b 921600 -d /dev/ttyS0
|
||||
fi
|
||||
fi
|
||||
|
||||
if ver hwcmp CRAZYFLIE
|
||||
then
|
||||
# Avoid using either of the two available serials
|
||||
set MAVLINK_F none
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $MAVLINK_F == "none" ]
|
||||
then
|
||||
else
|
||||
mavlink start $MAVLINK_F
|
||||
fi
|
||||
unset MAVLINK_F
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user