aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-02-22 19:13:04 -0800
committerpx4dev <px4@purgatory.org>2013-02-22 19:13:04 -0800
commit8e66268c35af1157813cf70dc85e158d49747241 (patch)
treedeb9841bb8dd10128af0ea82bb58e5c447ceb0ec /apps
parentc3aad047a5d7db4d33e282e8aea78e32ae10053c (diff)
downloadpx4-firmware-8e66268c35af1157813cf70dc85e158d49747241.tar.gz
px4-firmware-8e66268c35af1157813cf70dc85e158d49747241.tar.bz2
px4-firmware-8e66268c35af1157813cf70dc85e158d49747241.zip
Hotfix: Add support for 9-channel Spektrum/DSM setups.
Tested by Felipe Reis <felipereis87@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/px4io/dsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/px4io/dsm.c b/apps/px4io/dsm.c
index 560ef47d9..869c27b1b 100644
--- a/apps/px4io/dsm.c
+++ b/apps/px4io/dsm.c
@@ -241,6 +241,7 @@ dsm_guess_format(bool reset)
0x3f, /* 6 channels (DX6) */
0x7f, /* 7 channels (DX7) */
0xff, /* 8 channels (DX8) */
+ 0x1ff, /* 9 channels (DX9, etc.) */
0x3ff, /* 10 channels (DX10) */
0x3fff /* 18 channels (DX10) */
};