diff options
author | px4dev <px4@purgatory.org> | 2013-02-22 19:13:04 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-02-22 19:13:04 -0800 |
commit | 8e66268c35af1157813cf70dc85e158d49747241 (patch) | |
tree | deb9841bb8dd10128af0ea82bb58e5c447ceb0ec | |
parent | c3aad047a5d7db4d33e282e8aea78e32ae10053c (diff) | |
download | px4-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>
-rw-r--r-- | apps/px4io/dsm.c | 1 |
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) */ }; |