diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-02-17 17:47:26 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-02-17 17:47:26 +0100 |
commit | 56bf9855a8f8140a8a5edeeb08f4246249b27085 (patch) | |
tree | 87936852503268586228b197126f77ca34ae57d5 /apps/px4io/protocol.h | |
parent | f689f0abb0832c3d68e462e291a7a4d6dd43e216 (diff) | |
download | px4-firmware-56bf9855a8f8140a8a5edeeb08f4246249b27085.tar.gz px4-firmware-56bf9855a8f8140a8a5edeeb08f4246249b27085.tar.bz2 px4-firmware-56bf9855a8f8140a8a5edeeb08f4246249b27085.zip |
Finished and tested in-air restore of arming state, as long as both boards reset at the same time armings state is now retained
Diffstat (limited to 'apps/px4io/protocol.h')
-rw-r--r-- | apps/px4io/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/px4io/protocol.h b/apps/px4io/protocol.h index 4f1b067bd..a957a9e79 100644 --- a/apps/px4io/protocol.h +++ b/apps/px4io/protocol.h @@ -102,6 +102,7 @@ #define PX4IO_P_STATUS_FLAGS_FMU_OK (1 << 6) /* controls from FMU are valid */ #define PX4IO_P_STATUS_FLAGS_RAW_PWM (1 << 7) /* raw PWM from FMU is bypassing the mixer */ #define PX4IO_P_STATUS_FLAGS_MIXER_OK (1 << 8) /* mixer is OK */ +#define PX4IO_P_STATUS_FLAGS_ARM_SYNC (1 << 9) /* the arming state between IO and FMU is in sync */ #define PX4IO_P_STATUS_ALARMS 3 /* alarm flags - alarms latch, write 1 to a bit to clear it */ #define PX4IO_P_STATUS_ALARMS_VBATT_LOW (1 << 0) /* VBatt is very close to regulator dropout */ |