ROMFS: allow to use 460800 baudrate for onboard mode

This commit is contained in:
Lucas De Marchi
2017-02-13 13:33:55 -08:00
committed by Lorenz Meier
parent ab465744f1
commit 6121119631
+4
View File
@@ -647,6 +647,10 @@ then
then
mavlink start -d ${MAVLINK_COMPANION_DEVICE} -b 57600 -m onboard -r 5000 -x
fi
if param compare SYS_COMPANION 460800
then
mavlink start -d ${MAVLINK_COMPANION_DEVICE} -b 460800 -m onboard -r 5000 -x
fi
if param compare SYS_COMPANION 157600
then
mavlink start -d ${MAVLINK_COMPANION_DEVICE} -b 57600 -m osd -r 1000