aboutsummaryrefslogtreecommitdiff
path: root/src/modules/systemlib/system_params.c
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-03-16 18:47:21 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-03-16 18:47:21 +0100
commit4466dbf0b37f0a80790c346affee1e4ac86bef22 (patch)
tree8d326fd8ce8c2143dde6bf5e69a9dd9ae4e140b2 /src/modules/systemlib/system_params.c
parent39274f4bf3c825a0368be8e549b3affb80050302 (diff)
downloadpx4-firmware-4466dbf0b37f0a80790c346affee1e4ac86bef22.tar.gz
px4-firmware-4466dbf0b37f0a80790c346affee1e4ac86bef22.tar.bz2
px4-firmware-4466dbf0b37f0a80790c346affee1e4ac86bef22.zip
add SYS_USE_IO param which allows using standard startup scripts for FMU only mode
Diffstat (limited to 'src/modules/systemlib/system_params.c')
-rw-r--r--src/modules/systemlib/system_params.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modules/systemlib/system_params.c b/src/modules/systemlib/system_params.c
index cb35a2541..ec2bc3a9a 100644
--- a/src/modules/systemlib/system_params.c
+++ b/src/modules/systemlib/system_params.c
@@ -60,3 +60,14 @@ PARAM_DEFINE_INT32(SYS_AUTOSTART, 0);
* @group System
*/
PARAM_DEFINE_INT32(SYS_AUTOCONFIG, 0);
+
+/**
+ * Set usage of IO board
+ *
+ * Can be used to use a standard startup script but with a FMU only set-up. Set to 0 to force the FMU only set-up.
+ *
+ * @min 0
+ * @max 1
+ * @group System
+ */
+PARAM_DEFINE_INT32(SYS_USE_IO, 1);