projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac318c1
)
altos: Only enable PWM on telescience_pwm product
author
Keith Packard
<keithp@keithp.com>
Wed, 17 Oct 2012 05:17:25 +0000
(22:17 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 17 Oct 2012 05:17:25 +0000
(22:17 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/avr/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/avr/ao_pins.h
b/src/avr/ao_pins.h
index 0f49db0b83b8b6bf656b618adda7a8d50cee266e..0aa978e9dd174830163d2d20ac2e1e27c7a9fd1f 100644
(file)
--- a/
src/avr/ao_pins.h
+++ b/
src/avr/ao_pins.h
@@
-32,7
+32,7
@@
#define HAS_BEEP 0
#endif
-#if
def TELESCIENCE
+#if
defined(TELESCIENCE) || defined(TELESCIENCE_PWM)
#define LEDS_AVAILABLE 0
#define HAS_USB 1
#define HAS_LOG 1
@@
-47,7
+47,11
@@
#define AVR_VCC_5V 0
#define AVR_VCC_3V3 1
#define AVR_CLOCK 8000000UL
+#ifdef TELESCIENCE_PWM
#define HAS_ICP3_COUNT 1
+#else
+ #define HAS_ICP3_COUNT 0
+#endif
#define SPI_CS_PORT PORTE
#define SPI_CS_DIR DDRE