altos: Fix byte offsets in the mega AO_LOG_FLIGHT packets
authorKeith Packard <keithp@keithp.com>
Tue, 6 May 2014 06:45:30 +0000 (23:45 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 9 May 2014 05:25:12 +0000 (22:25 -0700)
Just comments, but even those should be correct

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_log.h

index 09f3118812ed64f5436b48d3252cad80c856575e..3ff9e81142ed60925eb22b71b82bbe205d83aced 100644 (file)
@@ -206,9 +206,9 @@ struct ao_log_mega {
                        uint16_t        flight;                 /* 4 */
                        int16_t         ground_accel;           /* 6 */
                        uint32_t        ground_pres;            /* 8 */
                        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 */
                        int16_t         ground_roll;            /* 18 */
                        int16_t         ground_pitch;           /* 20 */
                        int16_t         ground_yaw;             /* 22 */