summaryrefslogtreecommitdiff
path: root/src/core/ao_data.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-22 13:03:06 -0700
committerKeith Packard <keithp@keithp.com>2013-08-25 22:24:00 -0700
commitd0b4e926ecececa7499a301b6135189be119512e (patch)
treea2c8a67bf1528745a25acfc202d238e7b3242e49 /src/core/ao_data.c
parent3ded57394f6dfd7beb9526c031a5c6c6c9926917 (diff)
Initial TeleMini bits
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_data.c')
-rw-r--r--src/core/ao_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ao_data.c b/src/core/ao_data.c
index 38d2f7ff..6a3d02a1 100644
--- a/src/core/ao_data.c
+++ b/src/core/ao_data.c
@@ -22,6 +22,7 @@ volatile __xdata struct ao_data ao_data_ring[AO_DATA_RING];
volatile __data uint8_t ao_data_head;
volatile __data uint8_t ao_data_present;
+#ifndef ao_data_count
void
ao_data_get(__xdata struct ao_data *packet)
{
@@ -32,3 +33,4 @@ ao_data_get(__xdata struct ao_data *packet)
#endif
memcpy(packet, (void *) &ao_data_ring[i], sizeof (struct ao_data));
}
+#endif