From: Keith Packard Date: Tue, 6 May 2014 06:45:30 +0000 (-0700) Subject: altos: Fix byte offsets in the mega AO_LOG_FLIGHT packets X-Git-Tag: 1.3.2.2~118 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=c8ad50495e2d81209a4882dd4f82c19d9ae2ac34;ds=sidebyside altos: Fix byte offsets in the mega AO_LOG_FLIGHT packets Just comments, but even those should be correct Signed-off-by: Keith Packard --- 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 */