summaryrefslogtreecommitdiff
path: root/src-avr/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-20 23:47:55 -0700
committerKeith Packard <keithp@keithp.com>2011-05-21 02:07:43 -0700
commit557522e447448023d7869c0fa15ed8337db7e1b8 (patch)
treec45649e979e4852fef7e65ac5bcc52c01157e688 /src-avr/ao_pins.h
parentf7e552a0f4b1382a076b0f3ffc50ef068bfa141f (diff)
src-avr: Add ADC routines to telescience
Note that SLEEP mode must be disabled or extra ADC interrupts occur, which messes up saving ADC values to the right channel. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src-avr/ao_pins.h')
-rw-r--r--src-avr/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-avr/ao_pins.h b/src-avr/ao_pins.h
index aec8994b..b927bc4b 100644
--- a/src-avr/ao_pins.h
+++ b/src-avr/ao_pins.h
@@ -263,6 +263,7 @@
#define USE_SERIAL_STDIN 1
#define HAS_SERIAL_1 1
#define HAS_USB 1
+ #define HAS_ADC 1
#define PACKET_HAS_SLAVE 0
#define AVR_VCC_5V 0