summaryrefslogtreecommitdiff
path: root/src/ao_test.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-06-17 13:55:23 -0700
committerKeith Packard <keithp@keithp.com>2009-06-17 13:55:23 -0700
commite59520e343c2573b1b92c0b3c4aaa93e51bc55d3 (patch)
treeccea22a92c7a2a403761139a3565da2ae22d5065 /src/ao_test.c
parent1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a (diff)
Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4
None of our boards have a 32kHz xtal oscillator, instead we use those pins (on Telemetrum) for the deployment firing circuits. The old clock initialization code was switching from the 32kHz RC oscillator to the 32kHz crystal and overriding our use of those pins. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_test.c')
-rw-r--r--src/ao_test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ao_test.c b/src/ao_test.c
index c9bb02ae..b9f7d338 100644
--- a/src/ao_test.c
+++ b/src/ao_test.c
@@ -100,9 +100,7 @@ echo(void)
void
main(void)
{
- CLKCON = 0;
- while (!(SLEEP & SLEEP_XOSC_STB))
- ;
+ ao_clock_init();
// ao_add_task(&blink_0_task, blink_0);
// ao_add_task(&blink_1_task, blink_1);