diff options
author | Keith Packard <keithp@keithp.com> | 2011-05-15 21:55:27 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-05-15 21:55:27 -0700 |
commit | 106d43a3fa5b1fc5278eaefd879739d917bdecf7 (patch) | |
tree | c599b6406e6f926c4b1427c331a7ee9f683f9a03 /src-avr/ao_timer.c | |
parent | c5c6fac96e348578a3436a07d75effd4abbc19f2 (diff) |
altos-avr: Start writing USB driver.
Adapt ao_usb to new environment.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src-avr/ao_timer.c')
-rw-r--r-- | src-avr/ao_timer.c | 2 |
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 */ |