diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-12-26 18:01:52 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-12-26 18:01:52 +0100 |
commit | b097b13ba687412b97d2bcd005bc0f11be33de7b (patch) | |
tree | b82e0c1b2901d71ece5350acd067bba219c70139 /ROMFS/px4fmu_common/init.d | |
parent | dc5228fcca46adbbe0d8db05fbd75dc8459ca41c (diff) | |
download | px4-firmware-b097b13ba687412b97d2bcd005bc0f11be33de7b.tar.gz px4-firmware-b097b13ba687412b97d2bcd005bc0f11be33de7b.tar.bz2 px4-firmware-b097b13ba687412b97d2bcd005bc0f11be33de7b.zip |
Companion computer interface: Add SYS_COMPANION parameter. Setting it to 921600 enables the companion interface.
Diffstat (limited to 'ROMFS/px4fmu_common/init.d')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index b0e0c2674..26b729aad 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -434,7 +434,10 @@ then # if ver hwcmp PX4FMU_V2 then - mavlink start -d /dev/ttyS2 -b 230400 -m onboard + if param compare SYS_COMPANION 921600 + then + mavlink start -d /dev/ttyS2 -b 921600 -m onboard + fi fi # UAVCAN |