mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 13:15:32 +08:00
rc.mavlink:Fix syntax errors
This commit is contained in:
@@ -31,7 +31,7 @@ fi
|
|||||||
# End Setup for board specific configurations. #
|
# End Setup for board specific configurations. #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
if [ $MAVLINK_F == default ]
|
if [ "x${MAVLINK_F}" == xdefault ]
|
||||||
then
|
then
|
||||||
# Normal mode, use baudrate 57600 (default) and data rate 1000 bytes/s
|
# Normal mode, use baudrate 57600 (default) and data rate 1000 bytes/s
|
||||||
set MAVLINK_F "-r 1200 -f"
|
set MAVLINK_F "-r 1200 -f"
|
||||||
@@ -72,7 +72,7 @@ then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "x$MAVLINK_F" != xnone ]
|
if [ "x${MAVLINK_F}" != xnone ]
|
||||||
then
|
then
|
||||||
mavlink start ${MAVLINK_F}
|
mavlink start ${MAVLINK_F}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user