altos: ao_data_get is in ao_data.c now, not ao_adc.c
authorKeith Packard <keithp@keithp.com>
Sat, 18 May 2013 09:54:30 +0000 (02:54 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 18 May 2013 09:54:30 +0000 (02:54 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_adc.h
src/core/ao_data.h

index 0dd87080037686a1c099c11bc024aaa0039ea06f..373db1c4794ccf81ad5f4496e3ba997c59d29860 100644 (file)
@@ -28,10 +28,6 @@ ao_adc_poll(void);
 void
 ao_adc_sleep(void);
 
-/* Get a copy of the last complete sample set */
-void
-ao_data_get(__xdata struct ao_data *packet);
-
 /* Initialize the A/D converter */
 void
 ao_adc_init(void);
index 7e2f85d8fb569894c09a75672f57f046df048007..b0f086f867285cf111d865b48bd0a684d0fd41d6 100644 (file)
@@ -82,6 +82,10 @@ struct ao_data {
 #define ao_data_ring_next(n)   (((n) + 1) & (AO_DATA_RING - 1))
 #define ao_data_ring_prev(n)   (((n) - 1) & (AO_DATA_RING - 1))
 
+/* Get a copy of the last complete sample set */
+void
+ao_data_get(__xdata struct ao_data *packet);
+
 extern volatile __xdata struct ao_data ao_data_ring[AO_DATA_RING];
 extern volatile __data uint8_t         ao_data_head;
 extern volatile __data uint8_t         ao_data_present;