summaryrefslogtreecommitdiff
path: root/src/cc1111/ao_adc.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-05-27 17:26:43 -0600
committerKeith Packard <keithp@keithp.com>2012-05-27 17:26:43 -0600
commit090dc9aecdf4cfd1ac727325ae141d441c5b28aa (patch)
tree779d50db4a756fa0be3ed97b2591a383dfde59a9 /src/cc1111/ao_adc.c
parent98e992b65d366d9f79d7d2dd2dd4d1886dd1d9c4 (diff)
altos: Make telemini-v1.0 compile with new ao_data structure
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111/ao_adc.c')
-rw-r--r--src/cc1111/ao_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cc1111/ao_adc.c b/src/cc1111/ao_adc.c
index 1e3d8cab..f34bc042 100644
--- a/src/cc1111/ao_adc.c
+++ b/src/cc1111/ao_adc.c
@@ -83,7 +83,7 @@ ao_adc_isr(void) __interrupt 1
#if IGNITE_ON_P0
/* TeleMini readings */
- a = (uint8_t __xdata *) (&ao_data_ring[ao_data_head].pres);
+ a = (uint8_t __xdata *) (&ao_data_ring[ao_data_head].adc.pres);
#ifdef TELEMINI_V_1_0
switch (sequence) {
case 0: