altoslib/altosui: Further AltosState transition work
[fw/altos] / src / core / ao_log.h
index f6ab45209913ed73a76c8185d5e9d2300b995e30..4b09faebe9ea9020f6c42abcb3492d025e41cb7c 100644 (file)
@@ -44,8 +44,9 @@ extern __pdata enum ao_flight_state ao_log_state;
 #define AO_LOG_FORMAT_TELEMETRY                3       /* 32 byte ao_telemetry records */
 #define AO_LOG_FORMAT_TELESCIENCE      4       /* 32 byte typed telescience records */
 #define AO_LOG_FORMAT_TELEMEGA         5       /* 32 byte typed telemega records */
-#define AO_LOG_FORMAT_MINI             6       /* 16-byte MS5607 baro only */
+#define AO_LOG_FORMAT_EASYMINI         6       /* 16-byte MS5607 baro only, 3.0V supply */
 #define AO_LOG_FORMAT_TELEMETRUM       7       /* 16-byte typed telemetrum records */
+#define AO_LOG_FORMAT_TELEMINI         8       /* 16-byte MS5607 baro only, 3.3V supply */
 #define AO_LOG_FORMAT_NONE             127     /* No log at all */
 
 extern __code uint8_t ao_log_format;
@@ -275,7 +276,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 */