diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-12 11:25:37 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-14 08:00:00 +0200 |
commit | 97fb361ea9e8d0952327a51b3400401d96f08506 (patch) | |
tree | 26bd884a0b7cdd80fe1e8ae341b052e1af7a0960 /src/modules/px4iofirmware/protocol.h | |
parent | 178a3e8567b3e721771fffcb8f32df140ad1038b (diff) | |
download | px4-firmware-97fb361ea9e8d0952327a51b3400401d96f08506.tar.gz px4-firmware-97fb361ea9e8d0952327a51b3400401d96f08506.tar.bz2 px4-firmware-97fb361ea9e8d0952327a51b3400401d96f08506.zip |
Set an RC status flag so that we can read out the RC status in parallel to the RC data
Diffstat (limited to 'src/modules/px4iofirmware/protocol.h')
-rw-r--r-- | src/modules/px4iofirmware/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/protocol.h b/src/modules/px4iofirmware/protocol.h index 6c20d6006..91975f2a0 100644 --- a/src/modules/px4iofirmware/protocol.h +++ b/src/modules/px4iofirmware/protocol.h @@ -142,6 +142,7 @@ #define PX4IO_P_RAW_RC_FLAGS_FAILSAFE (1 << 1) /* receiver is in failsafe mode */ #define PX4IO_P_RAW_RC_FLAGS_RC_DSM11 (1 << 2) /* DSM decoding is 11 bit mode */ #define PX4IO_P_RAW_RC_FLAGS_MAPPING_OK (1 << 3) /* Channel mapping is ok */ +#define PX4IO_P_RAW_RC_FLAGS_RC_OK (1 << 4) /* RC reception ok */ #define PX4IO_P_RAW_RC_NRSSI 2 /* [2] Normalized RSSI value, 0: no reception, 255: perfect reception */ #define PX4IO_P_RAW_RC_DATA 3 /* [1] + [2] Details about the RC source (PPM frame length, Spektrum protocol type) */ |