summaryrefslogtreecommitdiff
path: root/src-avr/ao_telescience.c
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_telescience.c
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_telescience.c')
-rw-r--r--src-avr/ao_telescience.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-avr/ao_telescience.c b/src-avr/ao_telescience.c
index 26e50ab3..5b047c16 100644
--- a/src-avr/ao_telescience.c
+++ b/src-avr/ao_telescience.c
@@ -31,6 +31,7 @@ main(void)
ao_spi_init();
ao_storage_init();
ao_usb_init();
+ ao_adc_init();
/* Turn on the LED until the system is stable */
ao_start_scheduler();