X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fao_tidongle.c;h=3b7c2733b7feaf51427f648a9d64f5541a6fb95e;hp=6dfa9ae9477103f6b5d9ae11c51f8af61e0b9b07;hb=e59520e343c2573b1b92c0b3c4aaa93e51bc55d3;hpb=210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7 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);