aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-08-26 22:46:09 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-08-26 22:46:09 +0200
commit5e5322c593c6bd8ccd894f47ab8fd88b72e51677 (patch)
tree0a386a9842de967e1b27acf691e054ea34704c8a /src/drivers
parent3d528a2c979e7d0df1171afc1f038759c7b01383 (diff)
downloadpx4-firmware-5e5322c593c6bd8ccd894f47ab8fd88b72e51677.tar.gz
px4-firmware-5e5322c593c6bd8ccd894f47ab8fd88b72e51677.tar.bz2
px4-firmware-5e5322c593c6bd8ccd894f47ab8fd88b72e51677.zip
fix flight termination circuit breaker name, tested
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/px4io/px4io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp
index d5f569d71..b5c5ef17c 100644
--- a/src/drivers/px4io/px4io.cpp
+++ b/src/drivers/px4io/px4io.cpp
@@ -1170,7 +1170,7 @@ PX4IO::io_set_arming_state()
}
/* Do not set failsafe if circuit breaker is enabled */
- if (armed.force_failsafe && !circuit_breaker_enabled("CBRK_FLIGHTTERMINATION", CBRK_FLIGHTTERMINATION_KEY)) {
+ if (armed.force_failsafe && !circuit_breaker_enabled("CBRK_FLIGHTTERM", CBRK_FLIGHTTERM_KEY)) {
set |= PX4IO_P_SETUP_ARMING_FORCE_FAILSAFE;
} else {
clear |= PX4IO_P_SETUP_ARMING_FORCE_FAILSAFE;