diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-08 23:04:16 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-08 23:04:16 -0700 |
commit | 39c5738acdfdf0c87b64de6135fe107971cfa12b (patch) | |
tree | 067882f873e36200f38fde4805600b6f10e68a78 /src/drivers/ao_mma655x.h | |
parent | 16bbe9d25856259d2694751c364b668638e4a971 (diff) |
altos: Go back to recording sensor data in globalsmm-ms5611
Instead of trying to get things into the ring from a variety of
functions, go back to the simpler method of storing them in globals
and having the ADC code just pluck out the most recent values.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_mma655x.h')
-rw-r--r-- | src/drivers/ao_mma655x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ao_mma655x.h b/src/drivers/ao_mma655x.h index 9c0c59dc..2d951e07 100644 --- a/src/drivers/ao_mma655x.h +++ b/src/drivers/ao_mma655x.h @@ -78,6 +78,7 @@ #define AO_MMA655X_COUNT 0x15 #define AO_MMA655X_OFFCORR 0x16 +extern uint16_t ao_mma655x_current; void ao_mma655x_init(void); |