Browse Source

rc.mavlink:Fix syntax errors

sbg
David Sidrane 7 years ago
parent
commit
2c282d0e0e
  1. 4
      ROMFS/px4fmu_common/init.d/rc.mavlink

4
ROMFS/px4fmu_common/init.d/rc.mavlink

@ -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

Loading…
Cancel
Save