typedef int16_t gyro_t; /* in raw sample units */
typedef int16_t angle_t; /* in degrees */
-/* Y axis is aligned with the direction of motion (along) */
-/* X axis is aligned in the other board axis (across) */
+/* X axis is aligned with the direction of motion (along) */
+/* Y axis is aligned in the other board axis (across) */
/* Z axis is aligned perpendicular to the board (through) */
static inline float ao_convert_gyro(float sensor)
#endif
#if HAS_ADS131A0X
ao_data_ring[head].ads131a0x = ao_ads131a0x_current;
+#endif
+#if HAS_BMX160
+ ao_data_ring[head].bmx160 = ao_bmx160_current;
#endif
ao_data_ring[head].tick = ao_tick_count;
ao_data_head = ao_data_ring_next(head);