diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-25 23:06:53 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-25 23:06:53 +0100 |
commit | aff11d6d8611d5e5b72742d2bee4132168fefa72 (patch) | |
tree | 6a0b3a3ff67fa619111f7c9f13696dbe528f6615 /src/modules | |
parent | bafcbd99a695a3c4d478fb58e1d53940f331392f (diff) | |
download | px4-firmware-aff11d6d8611d5e5b72742d2bee4132168fefa72.tar.gz px4-firmware-aff11d6d8611d5e5b72742d2bee4132168fefa72.tar.bz2 px4-firmware-aff11d6d8611d5e5b72742d2bee4132168fefa72.zip |
IO firmware: Use right base reg value - since the wrong one had the same value this hasn’t been an issue, but it would have become one once one of them changed.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/px4iofirmware/px4io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/px4iofirmware/px4io.h b/src/modules/px4iofirmware/px4io.h index 393e0560e..ee9d5b0c4 100644 --- a/src/modules/px4iofirmware/px4io.h +++ b/src/modules/px4iofirmware/px4io.h @@ -97,7 +97,7 @@ extern uint16_t r_page_servo_disarmed[]; /* PX4IO_PAGE_DISARMED_PWM */ #define r_raw_rc_count r_page_raw_rc_input[PX4IO_P_RAW_RC_COUNT] #define r_raw_rc_values (&r_page_raw_rc_input[PX4IO_P_RAW_RC_BASE]) #define r_rc_valid r_page_rc_input[PX4IO_P_RC_VALID] -#define r_rc_values (&r_page_rc_input[PX4IO_P_RAW_RC_BASE]) +#define r_rc_values (&r_page_rc_input[PX4IO_P_RC_BASE]) #define r_setup_features r_page_setup[PX4IO_P_SETUP_FEATURES] #define r_setup_arming r_page_setup[PX4IO_P_SETUP_ARMING] |