summaryrefslogtreecommitdiff
path: root/src/core/ao_data.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-08-28 22:52:58 -0600
committerKeith Packard <keithp@keithp.com>2013-08-28 22:52:58 -0600
commitdcc51bb18985c24fa35bce0dd42ea3d847b960bf (patch)
tree652c06c900b01b3c43f674e0f121109cc54b1120 /src/core/ao_data.c
parent7c82acc1c1c5b7b4da7c7ecb3b2fd90140e4c703 (diff)
parenta73b02518fcbc9fc0807ed8e141d3a06e8ad8214 (diff)
Merge remote-tracking branch 'origin/telemini'
Signed-off-by: Keith Packard <keithp@keithp.com> Conflicts: src/core/ao_telemetry.c src/core/ao_telemetry.h Added both Mini and Metrum telemetry defines
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