summaryrefslogtreecommitdiff
path: root/src-avr/ao_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src-avr/ao_timer.c')
-rw-r--r--src-avr/ao_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-avr/ao_timer.c b/src-avr/ao_timer.c
index 01bf8e0c..9142a497 100644
--- a/src-avr/ao_timer.c
+++ b/src-avr/ao_timer.c
@@ -149,7 +149,7 @@ ao_clock_init(void)
(0x4 << PDIV0)); /* 48MHz PLL clock */
/* Set the frequency of the crystal */
-#if TEENSY
+#if AVR_CLOCK > 12000000UL
PLLCSR |= (1 << PINDIV); /* For 16MHz crystal on Teensy board */
#else
PLLCSR &= ~(1 << PINDIV); /* For 8MHz crystal on TeleScience board */