altos: HMC5883 output order is X Z Y
[fw/altos] / src / kernel / ao_log.h
index a2f2c6ca9679f8b93946ff3bc3d418d5e4209d2a..241ba7d71217243e2076d9b7a7039145030cca2b 100644 (file)
@@ -252,8 +252,8 @@ struct ao_log_mega {
                        int16_t         gyro_y;         /* 20 */
                        int16_t         gyro_z;         /* 22 */
                        int16_t         mag_x;          /* 24 */
-                       int16_t         mag_y;          /* 26 */
-                       int16_t         mag_z;          /* 28 */
+                       int16_t         mag_z;          /* 26 */
+                       int16_t         mag_y;          /* 28 */
                        int16_t         accel;          /* 30 */
                } sensor;       /* 32 */
                /* AO_LOG_TEMP_VOLT */
@@ -309,9 +309,7 @@ struct ao_log_firetwo {
                /* AO_LOG_FLIGHT */
                struct {
                        uint16_t        flight;         /* 4 */
-                       uint16_t        idle_pressure;  /* 6 */
-                       uint16_t        idle_thrust;    /* 8 */
-               } flight;       /* 16 */
+               } flight;       /* 6 */
                /* AO_LOG_STATE */
                struct {
                        uint16_t        state;          /* 4 */