summaryrefslogtreecommitdiff
path: root/src/drivers/ao_hmc5883.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-26 09:53:16 -0700
committerKeith Packard <keithp@keithp.com>2012-08-26 09:53:16 -0700
commitf89e7de20374141b367205aa517a08ee203bfaf3 (patch)
treeccda232f72dd067d88fd1b7e03196c24f943b494 /src/drivers/ao_hmc5883.h
parentdec1481786ad54e22634e32109b5ed6e5483938e (diff)
altos: Trigger sample complete when all data are ready
This has each sensor mark a bit in the current data record which is then sent for processing when all of the data are present. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_hmc5883.h')
-rw-r--r--src/drivers/ao_hmc5883.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/ao_hmc5883.h b/src/drivers/ao_hmc5883.h
index 8d726510..55690978 100644
--- a/src/drivers/ao_hmc5883.h
+++ b/src/drivers/ao_hmc5883.h
@@ -75,14 +75,10 @@
#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);