summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-05-05 23:45:30 -0700
committerKeith Packard <keithp@keithp.com>2014-05-08 22:25:12 -0700
commitc8ad50495e2d81209a4882dd4f82c19d9ae2ac34 (patch)
treee29e02318f3d3c5f20131c8a80112180f8a0a3db /src
parentb22dff94778b1f15a6ad1989d526b936f0fa09ea (diff)
altos: Fix byte offsets in the mega AO_LOG_FLIGHT packets
Just comments, but even those should be correct Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/kernel/ao_log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/ao_log.h b/src/kernel/ao_log.h
index 09f31188..3ff9e811 100644
--- a/src/kernel/ao_log.h
+++ b/src/kernel/ao_log.h
@@ -206,9 +206,9 @@ struct ao_log_mega {
uint16_t flight; /* 4 */
int16_t ground_accel; /* 6 */
uint32_t ground_pres; /* 8 */
- int16_t ground_accel_along; /* 16 */
- int16_t ground_accel_across; /* 12 */
- int16_t ground_accel_through; /* 14 */
+ int16_t ground_accel_along; /* 12 */
+ int16_t ground_accel_across; /* 14 */
+ int16_t ground_accel_through; /* 16 */
int16_t ground_roll; /* 18 */
int16_t ground_pitch; /* 20 */
int16_t ground_yaw; /* 22 */