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