summaryrefslogtreecommitdiff
path: root/src/drivers/ao_mpu6000.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_mpu6000.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_mpu6000.h')
-rw-r--r--src/drivers/ao_mpu6000.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/drivers/ao_mpu6000.h b/src/drivers/ao_mpu6000.h
index fc7af1e0..ca76b081 100644
--- a/src/drivers/ao_mpu6000.h
+++ b/src/drivers/ao_mpu6000.h
@@ -155,9 +155,6 @@ struct ao_mpu6000_sample {
int16_t gyro_z;
};
-extern struct ao_mpu6000_sample ao_mpu6000_current;
-extern uint8_t ao_mpu6000_valid;
-
void
ao_mpu6000_init(void);