summaryrefslogtreecommitdiff
path: root/src/ao_tidongle.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_tidongle.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_tidongle.c')
-rw-r--r--src/ao_tidongle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ao_tidongle.c b/src/ao_tidongle.c
index 6dfa9ae9..3b7c2733 100644
--- a/src/ao_tidongle.c
+++ b/src/ao_tidongle.c
@@ -22,9 +22,7 @@
void
main(void)
{
- CLKCON = 0;
- while (!(SLEEP & SLEEP_XOSC_STB))
- ;
+ ao_clock_init();
/* Turn on the LED until the system is stable */
ao_led_init(AO_LED_RED);