From c8ad50495e2d81209a4882dd4f82c19d9ae2ac34 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 5 May 2014 23:45:30 -0700 Subject: [PATCH] altos: Fix byte offsets in the mega AO_LOG_FLIGHT packets Just comments, but even those should be correct Signed-off-by: Keith Packard --- src/kernel/ao_log.h | 6 +++--- 1 file 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 */ -- 2.30.2