diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-10-16 22:57:27 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-10-16 22:57:27 +0200 |
commit | f4903316329ca91b9e872327f701de5b6a2cc13c (patch) | |
tree | 2daecb924d0348e72a82bb54361e8c7190105c68 /src/modules/px4iofirmware/protocol.h | |
parent | 0d917576d484d2e2dc0233c5545a16e36f6e2f41 (diff) | |
download | px4-firmware-f4903316329ca91b9e872327f701de5b6a2cc13c.tar.gz px4-firmware-f4903316329ca91b9e872327f701de5b6a2cc13c.tar.bz2 px4-firmware-f4903316329ca91b9e872327f701de5b6a2cc13c.zip |
Enable flaps, avoid mode switch position
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 89a470b44..a3e8a58d3 100644 --- a/src/modules/px4iofirmware/protocol.h +++ b/src/modules/px4iofirmware/protocol.h @@ -246,6 +246,7 @@ enum { /* DSM bind states */ #define PX4IO_P_RC_CONFIG_MAX 2 /**< highest input value */ #define PX4IO_P_RC_CONFIG_DEADZONE 3 /**< band around center that is ignored */ #define PX4IO_P_RC_CONFIG_ASSIGNMENT 4 /**< mapped input value */ +#define PX4IO_P_RC_CONFIG_ASSIGNMENT_MODESWITCH 100 /**< magic value for mode switch */ #define PX4IO_P_RC_CONFIG_OPTIONS 5 /**< channel options bitmask */ #define PX4IO_P_RC_CONFIG_OPTIONS_ENABLED (1 << 0) #define PX4IO_P_RC_CONFIG_OPTIONS_REVERSE (1 << 1) |