aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-12-26 18:01:52 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-12-26 18:01:52 +0100
commitb097b13ba687412b97d2bcd005bc0f11be33de7b (patch)
treeb82e0c1b2901d71ece5350acd067bba219c70139 /src/modules
parentdc5228fcca46adbbe0d8db05fbd75dc8459ca41c (diff)
downloadpx4-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 'src/modules')
-rw-r--r--src/modules/systemlib/system_params.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/modules/systemlib/system_params.c b/src/modules/systemlib/system_params.c
index 702e435ac..a0988035c 100644
--- a/src/modules/systemlib/system_params.c
+++ b/src/modules/systemlib/system_params.c
@@ -82,3 +82,17 @@ PARAM_DEFINE_INT32(SYS_USE_IO, 1);
* @group System
*/
PARAM_DEFINE_INT32(SYS_RESTART_TYPE, 2);
+
+/**
+* Companion computer interface
+*
+* Configures the baud rate of the companion computer interface.
+* Set to zero to disable, set to 921600 to enable.
+* CURRENTLY ONLY SUPPORTS 921600 BAUD! Use extras.txt for
+* other baud rates.
+*
+* @min 0
+* @max 921600
+* @group System
+*/
+PARAM_DEFINE_INT32(SYS_COMPANION, 0);