summaryrefslogtreecommitdiff
path: root/src/drivers/ao_hmc5883.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ao_hmc5883.h')
-rw-r--r--src/drivers/ao_hmc5883.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_hmc5883.h b/src/drivers/ao_hmc5883.h
index 78637b02..b90733df 100644
--- a/src/drivers/ao_hmc5883.h
+++ b/src/drivers/ao_hmc5883.h
@@ -77,7 +77,7 @@
#define HMC5883_ID_C 12
struct ao_hmc5883_sample {
- int16_t x, y, z;
+ int16_t x, z, y;
};
extern struct ao_hmc5883_sample ao_hmc5883_current;