summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-07 22:23:19 -0700
committerKeith Packard <keithp@keithp.com>2014-06-07 22:30:26 -0700
commitee2216af17f23781ea912caba29fbd7e4d9ff480 (patch)
treeb7d3541ab5ee6a29d578f571559661371af83bce /src
parentef85b3bc5300904ebfb878b1c7313a82b5b7aebf (diff)
altos: Enable ADC for TeleGPS v1.0 battery voltage measuring
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/telegps-v1.0/Makefile7
-rw-r--r--src/telegps-v1.0/ao_pins.h2
2 files changed, 4 insertions, 5 deletions
diff --git a/src/telegps-v1.0/Makefile b/src/telegps-v1.0/Makefile
index b5c3dfa3..7513aad9 100644
--- a/src/telegps-v1.0/Makefile
+++ b/src/telegps-v1.0/Makefile
@@ -20,10 +20,6 @@ INC = \
Makefile
-# ao_data.c \
-# ao_adc_lpc.c \
-# ao_convert_volt.c \
-
ALTOS_SRC = \
ao_interrupt.c \
ao_boot_chain.c \
@@ -54,6 +50,9 @@ ALTOS_SRC = \
ao_log_gps.c \
ao_distance.c \
ao_sqrt.c \
+ ao_data.c \
+ ao_adc_lpc.c \
+ ao_convert_volt.c \
$(SAMPLE_PROFILE)
PRODUCT=TeleGPS-v1.0
diff --git a/src/telegps-v1.0/ao_pins.h b/src/telegps-v1.0/ao_pins.h
index 1ec53fb2..5c58b34d 100644
--- a/src/telegps-v1.0/ao_pins.h
+++ b/src/telegps-v1.0/ao_pins.h
@@ -119,7 +119,7 @@
* ADC
*/
-#define HAS_ADC 0
+#define HAS_ADC 1
#define LOG_ADC 0
#define AO_DATA_RING 4