aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/protocol.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2013-02-18 14:16:09 +1100
committerAndrew Tridgell <tridge@samba.org>2013-02-18 14:16:09 +1100
commit317515fb6a3d6e469681b53316d69c7669efdaf0 (patch)
tree8b7a08491c482c0d335e60b2c76a99ef68d4a60a /apps/px4io/protocol.h
parent1670b8afe13ba6c845800228d1c8829aa1bf31c9 (diff)
downloadpx4-firmware-317515fb6a3d6e469681b53316d69c7669efdaf0.tar.gz
px4-firmware-317515fb6a3d6e469681b53316d69c7669efdaf0.tar.bz2
px4-firmware-317515fb6a3d6e469681b53316d69c7669efdaf0.zip
px4io: added INAIR_RESTART enable/disable flags
the autopilot code needs to know that in-air restart may happen, so it should be something that is enabled, rather than on by default.
Diffstat (limited to 'apps/px4io/protocol.h')
-rw-r--r--apps/px4io/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/px4io/protocol.h b/apps/px4io/protocol.h
index a957a9e79..0ee6d2c4b 100644
--- a/apps/px4io/protocol.h
+++ b/apps/px4io/protocol.h
@@ -142,6 +142,7 @@
#define PX4IO_P_SETUP_ARMING_ARM_OK (1 << 0) /* OK to arm */
#define PX4IO_P_SETUP_ARMING_MANUAL_OVERRIDE_OK (1 << 2) /* OK to switch to manual override via override RC channel */
#define PX4IO_P_SETUP_ARMING_VECTOR_FLIGHT_OK (1 << 3) /* OK to perform position / vector control (= position lock) */
+#define PX4IO_P_SETUP_ARMING_INAIR_RESTART_OK (1 << 4) /* OK to try in-air restart */
#define PX4IO_P_SETUP_PWM_RATES 2 /* bitmask, 0 = low rate, 1 = high rate */
#define PX4IO_P_SETUP_PWM_LOWRATE 3 /* 'low' PWM frame output rate in Hz */