summaryrefslogtreecommitdiff
path: root/src/ao_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ao_main.c')
-rw-r--r--src/ao_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ao_main.c b/src/ao_main.c
index 1f7a829f..25acccfc 100644
--- a/src/ao_main.c
+++ b/src/ao_main.c
@@ -20,9 +20,7 @@
void
main(void)
{
- CLKCON = 0;
- while (!(SLEEP & SLEEP_XOSC_STB))
- ;
+ ao_clock_init();
/* Turn on the red LED until the system is stable */
ao_led_init();