altos: HMC5883 output order is X Z Y
[fw/altos] / src / kernel / ao_telemetry.h
index 45aaeb075c2f6d7deb9b0ddda379d37a5feb30b9..23e3ed7db7c4a5309f4b76bc7d5db6da424a0a86 100644 (file)
@@ -198,8 +198,8 @@ struct ao_telemetry_mega_sensor {
        int16_t         gyro_z;         /* 24 */
 
        int16_t         mag_x;          /* 26 */
-       int16_t         mag_y;          /* 28 */
-       int16_t         mag_z;          /* 30 */
+       int16_t         mag_z;          /* 28 */
+       int16_t         mag_y;          /* 30 */
        /* 32 */
 };