aboutsummaryrefslogtreecommitdiff
path: root/src/modules/systemlib/circuit_breaker.c
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-09-05 08:59:00 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-09-22 10:52:48 +0200
commit973c034d6ec502009a8fd92c14ef02c4d1769a64 (patch)
tree501ce65e6f98fe772ad229c0c76dd50f0758a0b4 /src/modules/systemlib/circuit_breaker.c
parente3cac1999a0b4398e669f90cd28279ec2a0784a7 (diff)
downloadpx4-firmware-973c034d6ec502009a8fd92c14ef02c4d1769a64.tar.gz
px4-firmware-973c034d6ec502009a8fd92c14ef02c4d1769a64.tar.bz2
px4-firmware-973c034d6ec502009a8fd92c14ef02c4d1769a64.zip
engine failure detection
Diffstat (limited to 'src/modules/systemlib/circuit_breaker.c')
-rw-r--r--src/modules/systemlib/circuit_breaker.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/modules/systemlib/circuit_breaker.c b/src/modules/systemlib/circuit_breaker.c
index b0f95aedf..9e5429988 100644
--- a/src/modules/systemlib/circuit_breaker.c
+++ b/src/modules/systemlib/circuit_breaker.c
@@ -108,6 +108,20 @@ PARAM_DEFINE_INT32(CBRK_AIRSPD_CHK, 0);
*/
PARAM_DEFINE_INT32(CBRK_FLIGHTTERM, 0);
+/**
+ * Circuit breaker for engine failure detection
+ *
+ * Setting this parameter to 284953 will disable the engine failure detection.
+ * If the aircraft is in engine failure mode the enine failure flag will be
+ * set to healthy
+ * WARNING: ENABLING THIS CIRCUIT BREAKER IS AT OWN RISK
+ *
+ * @min 0
+ * @max 284953
+ * @group Circuit Breaker
+ */
+PARAM_DEFINE_INT32(CBRK_ENGINEFAIL, 0);
+
bool circuit_breaker_enabled(const char* breaker, int32_t magic)
{
int32_t val;