summaryrefslogtreecommitdiff
path: root/src/ao_teledongle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ao_teledongle.c')
-rw-r--r--src/ao_teledongle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ao_teledongle.c b/src/ao_teledongle.c
index 567751c6..4ebc53a5 100644
--- a/src/ao_teledongle.c
+++ b/src/ao_teledongle.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|AO_LED_GREEN);