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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/ao_hmc5883.h b/src/drivers/ao_hmc5883.h
index 55690978..8d726510 100644
--- a/src/drivers/ao_hmc5883.h
+++ b/src/drivers/ao_hmc5883.h
@@ -75,10 +75,14 @@
#define HMC5883_ID_B 11
#define HMC5883_ID_C 12
+extern uint8_t ao_hmc5883_valid;
+
struct ao_hmc5883_sample {
int16_t x, y, z;
};
+extern struct ao_hmc5883_sample ao_hmc5883_current;
+
void
ao_hmc5883_init(void);