diff options
author | px4dev <px4@purgatory.org> | 2013-02-24 14:32:04 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-02-24 14:32:04 -0800 |
commit | f35c5d600aa1d936207e3e6988058093dccacdf7 (patch) | |
tree | b8ebe6308a6081b5b7b18ca6f16019ed3cbb0c1c /apps | |
parent | 93f6edfe64780f1132cf8cb44afe3c7f1477f94e (diff) | |
download | px4-firmware-f35c5d600aa1d936207e3e6988058093dccacdf7.tar.gz px4-firmware-f35c5d600aa1d936207e3e6988058093dccacdf7.tar.bz2 px4-firmware-f35c5d600aa1d936207e3e6988058093dccacdf7.zip |
Don't mask out the enable bit when accepting R/C input config updates.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/px4io/registers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/px4io/registers.c b/apps/px4io/registers.c index 5fb90b9b0..5ec2f7258 100644 --- a/apps/px4io/registers.c +++ b/apps/px4io/registers.c @@ -165,8 +165,8 @@ volatile uint16_t r_page_controls[PX4IO_CONTROL_CHANNELS]; */ uint16_t r_page_rc_input_config[MAX_CONTROL_CHANNELS * PX4IO_P_RC_CONFIG_STRIDE]; -/* valid options excluding ENABLE */ -#define PX4IO_P_RC_CONFIG_OPTIONS_VALID PX4IO_P_RC_CONFIG_OPTIONS_REVERSE +/* valid options */ +#define PX4IO_P_RC_CONFIG_OPTIONS_VALID (PX4IO_P_RC_CONFIG_OPTIONS_REVERSE | PX4IO_P_RC_CONFIG_OPTIONS_ENABLED) /* * PAGE 104 uses r_page_servos. |