diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-02-22 15:31:56 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-02-22 15:31:56 +0100 |
commit | 8942f7a39257477c6b6434b370d29c242c4139a1 (patch) | |
tree | c89fba648eba26c32a3578f92e16e828f2f2684f /src/modules/px4iofirmware/registers.c | |
parent | 70b875aeb621ef7c24a17e3dd563265456b736b7 (diff) | |
download | px4-firmware-8942f7a39257477c6b6434b370d29c242c4139a1.tar.gz px4-firmware-8942f7a39257477c6b6434b370d29c242c4139a1.tar.bz2 px4-firmware-8942f7a39257477c6b6434b370d29c242c4139a1.zip |
Safelink protocol support in IO firmware structures, not hooked up yet.
Diffstat (limited to 'src/modules/px4iofirmware/registers.c')
-rw-r--r-- | src/modules/px4iofirmware/registers.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/registers.c b/src/modules/px4iofirmware/registers.c index 1335f52e1..6c183bbf9 100644 --- a/src/modules/px4iofirmware/registers.c +++ b/src/modules/px4iofirmware/registers.c @@ -142,6 +142,16 @@ uint16_t r_page_rc_input[] = { uint16_t r_page_scratch[32]; /** + * PAGE 8 + * + * Inputs from redundant autopilot + */ +uint16_t r_page_safelink[] = { + [PX4IO_P_SAFELINK_COUNT] = 0, + [PX4IO_P_SAFELINK_BASE ... (PX4IO_P_SAFELINK_BASE + PX4IO_SERVO_COUNT)] = 0 +}; + +/** * PAGE 100 * * Setup registers |