diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-25 15:11:48 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-25 15:11:48 +0100 |
commit | edffade8cec2ea779040e97fb5478e0e9db12031 (patch) | |
tree | 1560c0e4cc3f5c58b092e86cd30beb7524ff5a46 /src/modules/px4iofirmware/registers.c | |
parent | a5023329920d5ce45c5bf48ae61d621947cdb349 (diff) | |
download | px4-firmware-edffade8cec2ea779040e97fb5478e0e9db12031.tar.gz px4-firmware-edffade8cec2ea779040e97fb5478e0e9db12031.tar.bz2 px4-firmware-edffade8cec2ea779040e97fb5478e0e9db12031.zip |
Added PPM frame length feedback in IO comms and status command - allows to warn users about badly formatted PPM frames
Diffstat (limited to 'src/modules/px4iofirmware/registers.c')
-rw-r--r-- | src/modules/px4iofirmware/registers.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/px4iofirmware/registers.c b/src/modules/px4iofirmware/registers.c index 3f9e111ba..6aa3a5cd2 100644 --- a/src/modules/px4iofirmware/registers.c +++ b/src/modules/px4iofirmware/registers.c @@ -89,7 +89,9 @@ uint16_t r_page_status[] = { [PX4IO_P_STATUS_IBATT] = 0, [PX4IO_P_STATUS_VSERVO] = 0, [PX4IO_P_STATUS_VRSSI] = 0, - [PX4IO_P_STATUS_PRSSI] = 0 + [PX4IO_P_STATUS_PRSSI] = 0, + [PX4IO_P_STATUS_NRSSI] = 0, + [PX4IO_P_STATUS_RC_DATA] = 0 }; /** @@ -114,7 +116,7 @@ uint16_t r_page_servos[PX4IO_SERVO_COUNT]; uint16_t r_page_raw_rc_input[] = { [PX4IO_P_RAW_RC_COUNT] = 0, - [PX4IO_P_RAW_RC_BASE ... (PX4IO_P_RAW_RC_BASE + 24)] = 0 // XXX ensure we have enough space to decode beefy RX, will be replaced by patch soon + [PX4IO_P_RAW_RC_BASE ... (PX4IO_P_RAW_RC_BASE + PX4IO_CONTROL_CHANNELS)] = 0 // XXX ensure we have enough space to decode beefy RX, will be replaced by patch soon }; /** |