aboutsummaryrefslogtreecommitdiff
path: root/src/modules/systemlib
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-04-30 08:08:14 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-04-30 08:08:14 +0200
commit81525f6d8ad0c988cb666c0d8015e52ebdccaeb4 (patch)
tree89b53acac3ce7d4018cc366a7d3a6723341bac65 /src/modules/systemlib
parent848c1c2552996281685d2691c1b394f25a4391b3 (diff)
parente7ebcd6c572fe3550fd626530eb69b818e31be4a (diff)
downloadpx4-firmware-81525f6d8ad0c988cb666c0d8015e52ebdccaeb4.tar.gz
px4-firmware-81525f6d8ad0c988cb666c0d8015e52ebdccaeb4.tar.bz2
px4-firmware-81525f6d8ad0c988cb666c0d8015e52ebdccaeb4.zip
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
Diffstat (limited to 'src/modules/systemlib')
-rw-r--r--src/modules/systemlib/system_params.c27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/modules/systemlib/system_params.c b/src/modules/systemlib/system_params.c
index ec2bc3a9a..702e435ac 100644
--- a/src/modules/systemlib/system_params.c
+++ b/src/modules/systemlib/system_params.c
@@ -62,12 +62,23 @@ PARAM_DEFINE_INT32(SYS_AUTOSTART, 0);
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
- */
+* 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);
+
+/**
+* Set restart type
+*
+* Set by px4io to indicate type of restart
+*
+* @min 0
+* @max 2
+* @group System
+*/
+PARAM_DEFINE_INT32(SYS_RESTART_TYPE, 2);