summaryrefslogtreecommitdiff
path: root/ao_adc.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-12 23:53:55 -0700
committerKeith Packard <keithp@keithp.com>2009-04-12 23:53:55 -0700
commitf3f25a1cec7d2a034aa544569cfd23bea1a996c5 (patch)
tree4b39836787404bdd331f9192c5256fc8031f67cf /ao_adc.c
parente14f07bfdb8824fc7ed6df1129c66ee39ffd6d54 (diff)
Add beep/led support.
Support our P2_0 connected buzzer, and formalize LED output support. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao_adc.c')
-rw-r--r--ao_adc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ao_adc.c b/ao_adc.c
index d45e10b1..f043b5a1 100644
--- a/ao_adc.c
+++ b/ao_adc.c
@@ -18,8 +18,8 @@
#include "ao.h"
-__xdata struct ao_adc ao_adc_ring[ADC_RING];
-__data uint8_t ao_adc_head;
+volatile __xdata struct ao_adc ao_adc_ring[ADC_RING];
+volatile __data uint8_t ao_adc_head;
void ao_adc_isr(void) interrupt 1
{