X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fao_main.c;h=25acccfc7d9c369a7140b217be8af5c1a4ad02d2;hp=1f7a829fc929480ed1b12e6f37d5cfbf061ae11a;hb=e59520e343c2573b1b92c0b3c4aaa93e51bc55d3;hpb=1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a 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();