From 106d43a3fa5b1fc5278eaefd879739d917bdecf7 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 15 May 2011 21:55:27 -0700 Subject: altos-avr: Start writing USB driver. Adapt ao_usb to new environment. Signed-off-by: Keith Packard --- src-avr/ao_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-avr/ao_timer.c') 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 */ -- cgit v1.2.3