#include <ao_mpu6000.h>
#endif
+#if HAS_HMC5883
+#include <ao_hmc5883.h>
+#endif
+
struct ao_data {
uint16_t tick;
#if HAS_ADC
#if HAS_MPU6000
struct ao_mpu6000_sample mpu6000;
#endif
+#if HAS_HMC5883
+ struct ao_hmc5883_sample hmc5883;
+#endif
};
#define ao_data_ring_next(n) (((n) + 1) & (AO_DATA_RING - 1))