diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-21 11:17:29 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-21 11:17:29 +0200 |
commit | 5fbee2394522d8b0c7a78d2751783845d011b56d (patch) | |
tree | 78f0b0b3148c915876b318847b4015472c89e264 /src/modules/px4iofirmware/protocol.h | |
parent | 2a58929ffde494ba7db0bd09178545d5d650b420 (diff) | |
download | px4-firmware-5fbee2394522d8b0c7a78d2751783845d011b56d.tar.gz px4-firmware-5fbee2394522d8b0c7a78d2751783845d011b56d.tar.bz2 px4-firmware-5fbee2394522d8b0c7a78d2751783845d011b56d.zip |
Added flag to disable RC evaluation onboard of IO (raw values still forwarded)
Diffstat (limited to 'src/modules/px4iofirmware/protocol.h')
-rw-r--r-- | src/modules/px4iofirmware/protocol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/px4iofirmware/protocol.h b/src/modules/px4iofirmware/protocol.h index 3c59a75a7..2dda59124 100644 --- a/src/modules/px4iofirmware/protocol.h +++ b/src/modules/px4iofirmware/protocol.h @@ -74,7 +74,7 @@ #define REG_TO_FLOAT(_reg) ((float)REG_TO_SIGNED(_reg) / 10000.0f) #define FLOAT_TO_REG(_float) SIGNED_TO_REG((int16_t)((_float) * 10000.0f)) -#define PX4IO_PROTOCOL_VERSION 2 +#define PX4IO_PROTOCOL_VERSION 3 /* static configuration page */ #define PX4IO_PAGE_CONFIG 0 @@ -157,6 +157,7 @@ #define PX4IO_P_SETUP_ARMING_MANUAL_OVERRIDE_OK (1 << 2) /* OK to switch to manual override via override RC channel */ #define PX4IO_P_SETUP_ARMING_FAILSAFE_CUSTOM (1 << 3) /* use custom failsafe values, not 0 values of mixer */ #define PX4IO_P_SETUP_ARMING_INAIR_RESTART_OK (1 << 4) /* OK to try in-air restart */ +#define PX4IO_P_SETUP_ARMING_RC_HANDLING_DISABLED (1 << 5) /* Disable the IO-internal evaluation of the RC */ #define PX4IO_P_SETUP_PWM_RATES 2 /* bitmask, 0 = low rate, 1 = high rate */ #define PX4IO_P_SETUP_PWM_DEFAULTRATE 3 /* 'low' PWM frame output rate in Hz */ |