altos: Add lots more GPS data to mega log
[fw/altos] / src / core / ao_log.h
index a2f342d7097fe029709995db92fa4d1f9231c6c1..09f3118812ed64f5436b48d3252cad80c856575e 100644 (file)
@@ -253,8 +253,14 @@ struct ao_log_mega {
                        uint8_t         year;           /* 18 */
                        uint8_t         month;          /* 19 */
                        uint8_t         day;            /* 20 */
-                       uint8_t         pad;            /* 21 */
-               } gps;  /* 22 */
+                       uint8_t         course;         /* 21 */
+                       uint16_t        ground_speed;   /* 22 */
+                       int16_t         climb_rate;     /* 24 */
+                       uint8_t         pdop;           /* 26 */
+                       uint8_t         hdop;           /* 27 */
+                       uint8_t         vdop;           /* 28 */
+                       uint8_t         mode;           /* 29 */
+               } gps;  /* 30 */
                /* AO_LOG_GPS_SAT */
                struct {
                        uint16_t        channels;       /* 4 */
@@ -276,7 +282,8 @@ struct ao_log_metrum {
                        uint16_t        flight;         /* 4 */
                        int16_t         ground_accel;   /* 6 */
                        uint32_t        ground_pres;    /* 8 */
-               } flight;       /* 12 */
+                       uint32_t        ground_temp;    /* 12 */
+               } flight;       /* 16 */
                /* AO_LOG_STATE */
                struct {
                        uint16_t        state;          /* 4 */