Companion computer interface: Add SYS_COMPANION parameter. Setting it to 921600 enables the companion interface.

This commit is contained in:
Lorenz Meier
2014-12-26 18:01:52 +01:00
parent dc5228fcca
commit b097b13ba6
2 changed files with 18 additions and 1 deletions
+14
View File
@@ -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);