summaryrefslogtreecommitdiff
path: root/src/avr/ao_pins.h
diff options
context:
space:
mode:
authorRobert Garbee <robert@gag.com>2012-07-19 11:40:20 -0600
committerKeith Packard <keithp@keithp.com>2012-10-16 22:11:12 -0700
commit1747ab07dab6f4e977e0c3e83b57510cd668e369 (patch)
treea4ea6808658f87afe489a8e11ba2c5b54516de6b /src/avr/ao_pins.h
parent440365bd17d804c2f574c35164612cf1682397d7 (diff)
telescience: steal last adc channel for icp3 most recent value
Make the ICP3 rpm counter use in ao_adc_avr.c optional Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/avr/ao_pins.h')
-rw-r--r--src/avr/ao_pins.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/avr/ao_pins.h b/src/avr/ao_pins.h
index bc423ff7..0f49db0b 100644
--- a/src/avr/ao_pins.h
+++ b/src/avr/ao_pins.h
@@ -47,6 +47,7 @@
#define AVR_VCC_5V 0
#define AVR_VCC_3V3 1
#define AVR_CLOCK 8000000UL
+ #define HAS_ICP3_COUNT 1
#define SPI_CS_PORT PORTE
#define SPI_CS_DIR DDRE
@@ -81,6 +82,7 @@
#define IS_COMPANION 1
#define HAS_ORIENT 0
#define ao_storage_pos_t uint16_t
+ #define HAS_ICP3_COUNT 0
#define AVR_VCC_5V 0
#define AVR_VCC_3V3 1