diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-02-27 18:31:41 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-02-27 18:31:41 +0400 |
commit | 2159f948ea81088076b440cd8b673b1ac9f70da3 (patch) | |
tree | 4a4bb0f52580f4e87aa0063e54b180b901fe99d6 /ROMFS/px4fmu_common | |
parent | 141982a3ac21e7a0437f1d7692e4024daf873c21 (diff) | |
download | px4-firmware-2159f948ea81088076b440cd8b673b1ac9f70da3.tar.gz px4-firmware-2159f948ea81088076b440cd8b673b1ac9f70da3.tar.bz2 px4-firmware-2159f948ea81088076b440cd8b673b1ac9f70da3.zip |
mavlink: -r (datarate) parameter implemented, minor fixes
Diffstat (limited to 'ROMFS/px4fmu_common')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.usb | 2 | ||||
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.usb b/ROMFS/px4fmu_common/init.d/rc.usb index 3d8be089e..558be4275 100644 --- a/ROMFS/px4fmu_common/init.d/rc.usb +++ b/ROMFS/px4fmu_common/init.d/rc.usb @@ -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 diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 76f021e33..c3065b6fc 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -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 |