aboutsummaryrefslogtreecommitdiff
path: root/src/modules/px4iofirmware
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-01-26 15:26:19 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-01-26 15:26:19 +0100
commitcc68d11353e7fd7f0e775b8c11d99bd21982d2a3 (patch)
tree76d801ff513b4075fa365cdd64ae7ef9bac26fcb /src/modules/px4iofirmware
parentac32116f00a07d61b2873dd98a2a4ed28515d522 (diff)
downloadpx4-firmware-cc68d11353e7fd7f0e775b8c11d99bd21982d2a3.tar.gz
px4-firmware-cc68d11353e7fd7f0e775b8c11d99bd21982d2a3.tar.bz2
px4-firmware-cc68d11353e7fd7f0e775b8c11d99bd21982d2a3.zip
Add flag to indicate proper RC mapping
Diffstat (limited to 'src/modules/px4iofirmware')
-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 69c12d877..e3f499435 100644
--- a/src/modules/px4iofirmware/protocol.h
+++ b/src/modules/px4iofirmware/protocol.h
@@ -141,6 +141,7 @@
#define PX4IO_P_RAW_RC_FLAGS_FRAME_DROP (1 << 0) /* single frame drop */
#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_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) */