diff options
author | Keith Packard <keithp@keithp.com> | 2012-05-18 21:23:47 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-05-18 21:23:47 -0700 |
commit | 0239e4dfe587528524b6380bbf6d9583047e52d6 (patch) | |
tree | a6afa99e9db744b587985b9b076f608c3c56e42f /src/drivers/ao_mpu6000.h | |
parent | 34bb17bc1a3d8a1c95b5e57f059e7a1747e17a03 (diff) |
altos: Poll mpu6000 values every tick and stash them locally.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_mpu6000.h')
-rw-r--r-- | src/drivers/ao_mpu6000.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/ao_mpu6000.h b/src/drivers/ao_mpu6000.h index ca76b081..5e52148d 100644 --- a/src/drivers/ao_mpu6000.h +++ b/src/drivers/ao_mpu6000.h @@ -155,6 +155,8 @@ struct ao_mpu6000_sample { int16_t gyro_z; }; +extern struct ao_mpu6000_sample ao_mpu6000_current; + void ao_mpu6000_init(void); |