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