Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / src / ao_main.c
index 1f7a829fc929480ed1b12e6f37d5cfbf061ae11a..25acccfc7d9c369a7140b217be8af5c1a4ad02d2 100644 (file)
@@ -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();