aboutsummaryrefslogtreecommitdiff
path: root/src/modules/px4iofirmware/protocol.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-01-16 10:56:15 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-01-16 10:56:15 +0100
commit8ffb9e29c62e645b48573439d4ebc70acfa7db54 (patch)
tree9b4dfe17c7a91e62be529e17e4ca70e5b4497647 /src/modules/px4iofirmware/protocol.h
parentc304ea25077e1fd4675ef1d053cfc81e7e877b4b (diff)
downloadpx4-firmware-8ffb9e29c62e645b48573439d4ebc70acfa7db54.tar.gz
px4-firmware-8ffb9e29c62e645b48573439d4ebc70acfa7db54.tar.bz2
px4-firmware-8ffb9e29c62e645b48573439d4ebc70acfa7db54.zip
Teach IO firmware that arming and lockdown are two different things, clean up arming check
Diffstat (limited to 'src/modules/px4iofirmware/protocol.h')
-rw-r--r--src/modules/px4iofirmware/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/protocol.h b/src/modules/px4iofirmware/protocol.h
index e5bef6eb3..ce8d26cc8 100644
--- a/src/modules/px4iofirmware/protocol.h
+++ b/src/modules/px4iofirmware/protocol.h
@@ -166,6 +166,7 @@
#define PX4IO_P_SETUP_ARMING_INAIR_RESTART_OK (1 << 4) /* OK to try in-air restart */
#define PX4IO_P_SETUP_ARMING_ALWAYS_PWM_ENABLE (1 << 5) /* Output of PWM right after startup enabled to help ESCs initialize and prevent them from beeping */
#define PX4IO_P_SETUP_ARMING_RC_HANDLING_DISABLED (1 << 6) /* Disable the IO-internal evaluation of the RC */
+#define PX4IO_P_SETUP_ARMING_LOCKDOWN (1 << 7) /* If set, the system operates normally, but won't actuate any servos */
#define PX4IO_P_SETUP_PWM_RATES 2 /* bitmask, 0 = low rate, 1 = high rate */
#define PX4IO_P_SETUP_PWM_DEFAULTRATE 3 /* 'low' PWM frame output rate in Hz */