mavlink: -r (datarate) parameter implemented, minor fixes

This commit is contained in:
Anton Babushkin
2014-02-27 18:31:41 +04:00
parent 141982a3ac
commit 2159f948ea
5 changed files with 65 additions and 30 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
echo "Starting MAVLink on this USB console"
mavlink start -b 230400 -d /dev/ttyACM0
mavlink start -r 10000 -d /dev/ttyACM0
# Exit shell to make it available to MAVLink
exit
+2 -2
View File
@@ -390,14 +390,14 @@ then
if [ $TTYS1_BUSY == yes ]
then
# Start MAVLink on ttyS0, because FMU ttyS1 pins configured as something else
mavlink start -d /dev/ttyS0
mavlink start -r 1000 -d /dev/ttyS0
usleep 5000
# Exit from nsh to free port for mavlink
set EXIT_ON_END yes
else
# Start MAVLink on default port: ttyS1
mavlink start
mavlink start -r 1000
usleep 5000
fi
fi